Skip to contents

Get new concepts in a specific vocabulary from the Finto Skosmos API

Usage

get_new_concepts(vocid, lang = NULL, offset = NULL, limit = NULL)

Arguments

vocid

The vocabulary ID, e.g., "yso".

lang

The language of labels, e.g., "en" or "fi". Optional.

offset

Offset for the starting index of the results. Optional.

limit

Maximum number of concepts to return. Optional.

Value

A tibble containing the new concepts with URI, label, and creation date.

Examples

result <- get_new_concepts(vocid = "yso", lang = "fi", limit = 10)
#> Requesting URL: https://api.finto.fi/rest/v1/yso/new?lang=fi&limit=10
print(result)
#> # A tibble: 10 × 3
#>    uri                               prefLabel                        date      
#>    <chr>                             <chr>                            <chr>     
#>  1 http://www.yso.fi/onto/yso/p40577 aktiivikerros (maaperä)          2025-01-2…
#>  2 http://www.yso.fi/onto/yso/p40599 allianssimallit                  2025-01-2…
#>  3 http://www.yso.fi/onto/yso/p40596 ampumakoulutus (sotilaskoulutus) 2025-01-2…
#>  4 http://www.yso.fi/onto/yso/p40544 avaruusajoneuvot                 2025-01-1…
#>  5 http://www.yso.fi/onto/yso/p5077  avaruuskulkuneuvot               2025-01-2…
#>  6 http://www.yso.fi/onto/yso/p40564 avointen lähteiden tiedustelu    2025-01-1…
#>  7 http://www.yso.fi/onto/yso/p40550 ballistiset ohjukset             2025-01-1…
#>  8 http://www.yso.fi/onto/yso/p40590 dekontaminaatio                  2025-01-2…
#>  9 http://www.yso.fi/onto/yso/p40547 deminutiivit                     2025-01-1…
#> 10 http://www.yso.fi/onto/yso/p40594 digitaalinen turvallisuus        2025-01-2…