Learn R Programming

finto (version 0.1.1)

get_top_concepts: Get top concepts of a specific vocabulary from the Finto Skosmos API

Description

Get top concepts of a specific vocabulary from the Finto Skosmos API

Usage

get_top_concepts(vocid, lang = NULL, scheme = NULL)

Value

A tibble containing the URI, label, topConceptOf, notation, and hasChildren for each top concept.

Arguments

vocid

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

lang

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

scheme

The concept scheme to retrieve top concepts from. Optional.

Examples

Run this code
result <- get_top_concepts(vocid = "yso", lang = "fi")
print(result)

Run the code above in your browser using DataLab