Get labels for a specific concept from the Finto Skosmos API and return as a tibble
Source:R/get_concept_labels.R
get_concept_labels.Rd
Get labels for a specific concept from the Finto Skosmos API and return as a tibble
Value
A tibble containing the URI, preferred label (prefLabel
), alternative labels (altLabel
), and hidden labels (hiddenLabel
) for the concept.
Examples
labeles <- get_concept_labels(uri = "http://www.yso.fi/onto/koko/p91024",
lang = "fi")
#> Requesting URL: https://api.finto.fi/rest/v1/label?uri=http%3A%2F%2Fwww.yso.fi%2Fonto%2Fkoko%2Fp91024&lang=fi
print(labeles)
#> # A tibble: 1 × 4
#> uri prefLabel altLabel hiddenLabel
#> <chr> <chr> <chr> <lgl>
#> 1 http://www.yso.fi/onto/koko/p91024 Sibelius (junat) Sibelius NA