Learn R Programming

finto (version 0.1.1)

get_children_concepts: Get children concepts for a specific concept from the Finto Skosmos API

Description

Get children concepts for a specific concept from the Finto Skosmos API

Usage

get_children_concepts(vocid, uri, lang = NULL)

Value

A tibble containing the children concepts (prefLabel, uri, hasChildren) for the specified concept.

Arguments

vocid

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

uri

The URI of the concept whose children concepts to retrieve.

lang

The language code for the labels, e.g., "fi" or "en". Optional.

Examples

Run this code
children <- get_children_concepts(vocid = "yso",
uri = "http://www.yso.fi/onto/yso/p690", lang = "fi")
print(children)

Run the code above in your browser using DataLab