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 32384
#> 2 en englanti skos:altLabel 8901
#> 3 en englanti skos:hiddenLabel 15466
#> 4 fi suomi skos:prefLabel 32860
#> 5 fi suomi skos:altLabel 16156
#> 6 fi suomi skos:hiddenLabel 17973
#> 7 se pohjoissaame skos:prefLabel 21662
#> 8 se pohjoissaame skos:altLabel 1837
#> 9 se pohjoissaame skos:hiddenLabel 3
#> 10 sv ruotsi skos:prefLabel 32427
#> 11 sv ruotsi skos:altLabel 21741
#> 12 sv ruotsi skos:hiddenLabel 14980