getrelatedterms: get all related terms of a concept

Description Usage Arguments Examples

Description

This function retuns to you all related terms of one or more concept. The output is a vector with the related ids

Usage

1
getrelatedterms(vocid = NA, relation = NA, vocab = NA)

Arguments

vocid

mandatory parameter, the XML link(s) of which you want the related concepts

relation

optional parameter, the type of the retation you want. It takes as values: "narrower", "broader", "related", "sameas"

vocab

optional parameter, the vocab of the returned id's. For example: "P01", "P06"

Examples

1
getrelatedterms(vocid = "http://vocab.nerc.ac.uk/collection/S25/current/BE007117/", relation = "narrower", vocab = "P01" )

Daphnisd/skossxml documentation built on May 21, 2019, 11:07 a.m.