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/p12619 liidokit                       2025-05-09T…
#>  2 http://www.yso.fi/onto/yso/p13154 radiot (laitteet)              2025-05-09T…
#>  3 http://www.yso.fi/onto/yso/p25106 tavumerkistöt                  2025-05-09T…
#>  4 http://www.yso.fi/onto/yso/p18756 tiedotusoppi                   2025-05-10T…
#>  5 http://www.yso.fi/onto/yso/p13843 tiedotustutkimus               2025-05-10T…
#>  6 http://www.yso.fi/onto/yso/p21539 viestintätutkimus              2025-05-10T…
#>  7 http://www.yso.fi/onto/yso/p40787 ihmisluovutukset               2025-04-23T…
#>  8 http://www.yso.fi/onto/yso/p40788 itä ja länsi (kulttuuripiirit) 2025-04-23T…
#>  9 http://www.yso.fi/onto/yso/p40783 jääkärit (jalkaväki)           2025-04-23T…
#> 10 http://www.yso.fi/onto/yso/p40784 multimodaaliset matkat         2025-04-23T…