Learn R Programming

finto (version 0.1.1)

get_concept_labels: Get labels for a specific concept from the Finto Skosmos API and return as a tibble

Description

Get labels for a specific concept from the Finto Skosmos API and return as a tibble

Usage

get_concept_labels(uri, lang = NULL)

Value

A tibble containing the URI, preferred label (prefLabel), alternative labels (altLabel), and hidden labels (hiddenLabel) for the concept.

Arguments

uri

The URI of the concept to retrieve labels for.

lang

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

Examples

Run this code
labeles <- get_concept_labels(uri = "http://www.yso.fi/onto/koko/p91024",
lang = "fi")
print(labeles)

Run the code above in your browser using DataLab