Get label statistics by language in a specific vocabulary from the Finto Skosmos API
Source:R/get_label_statistics.R
get_label_statistics.Rd
Get label statistics by language in a specific vocabulary from the Finto Skosmos API
Value
A tibble containing the label statistics for each language, with columns for language, literal, property, and label count.
Examples
result <- get_label_statistics(vocid = "yso")
#> Requesting URL: https://api.finto.fi/rest/v1/yso/labelStatistics
print(result)
#> # A tibble: 12 × 4
#> language literal property labels
#> <chr> <chr> <chr> <int>
#> 1 en englanti skos:prefLabel 32284
#> 2 en englanti skos:altLabel 8100
#> 3 en englanti skos:hiddenLabel 15105
#> 4 fi suomi skos:prefLabel 32757
#> 5 fi suomi skos:altLabel 15976
#> 6 fi suomi skos:hiddenLabel 17902
#> 7 se pohjoissaame skos:prefLabel 21661
#> 8 se pohjoissaame skos:altLabel 1837
#> 9 se pohjoissaame skos:hiddenLabel 8857
#> 10 sv ruotsi skos:prefLabel 32324
#> 11 sv ruotsi skos:altLabel 21456
#> 12 sv ruotsi skos:hiddenLabel 14858