Get top concepts of a specific vocabulary from the Finto Skosmos API
Source:R/get_top_concepts.R
      get_top_concepts.RdGet top concepts of a specific vocabulary from the Finto Skosmos API
Value
A tibble containing the URI, label, topConceptOf, notation, and hasChildren for each top concept.
Examples
result <- get_top_concepts(vocid = "yso", lang = "fi")
#> Requesting URL: https://api.finto.fi/rest/v1/yso/topConcepts?lang=fi
print(result)
#> # A tibble: 3 × 5
#>   uri                               label      topConceptOf notation hasChildren
#>   <chr>                             <chr>      <chr>        <lgl>    <lgl>      
#> 1 http://www.yso.fi/onto/yso/p8691  ominaisuu… http://www.… NA       TRUE       
#> 2 http://www.yso.fi/onto/yso/p4762  oliot      http://www.… NA       TRUE       
#> 3 http://www.yso.fi/onto/yso/p15238 tapahtuma… http://www.… NA       TRUE