Learn R Programming

finto (version 0.1.1)

get_mappings: Get mappings for a specific concept from the Finto Skosmos API

Description

Get mappings for a specific concept from the Finto Skosmos API

Usage

get_mappings(vocid, uri, lang = NULL)

Value

A tibble containing mappings associated with the specified concept.

Arguments

vocid

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

uri

The URI of the concept whose mappings to retrieve.

lang

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

Examples

Run this code
mappings_data <- get_mappings(vocid = "yso", uri = "http://www.yso.fi/onto/yso/p22922", lang = "fi")
print(mappings_data)

Run the code above in your browser using DataLab