powered by
This function retrieves broader/narrower relationships and constructs a hierarchical structure.
fetch_profession_hierarchy(concept_uri, vocid = "mts", depth = 3)
A data.frame representing the hierarchy.
The URI of the starting profession (root).
The vocabulary ID (default: "mts").
The depth of hierarchy to fetch (default: 3).
hierarchy_df <- fetch_profession_hierarchy("http://urn.fi/URN:NBN:fi:au:mts:m3357") print(hierarchy_df)
Run the code above in your browser using DataLab