R/structureData.R
structureData.Rd
Obtain the structure of the classification tables from CELLAR and FAO.
structureData(prefix, conceptScheme, endpoint, language = "en")
The SPARQL instruction for a declaration of a namespace prefix. It can be found using the classEndpoint() function.
Taxonomy of the SKOS object to be retrieved. It can be found using the classEndpoint() function.
The SPARQL Endpoint
Language of the table. By default is set to "en"
. This is an optional argument.
structureData()
returns the structure of a classification table from CELLAR and FAO in form a table with the following colums:
Concept_Scheme: taxonomy of the SKOS object to be retrieved
Level: the levels of the objects in the collection
Depth: identify the hierarchy of each level
Count: the number of objects retrieved in each level
{
endpoint = "CELLAR"
prefix = "nace2"
conceptScheme = "nace2"
language = "en"
structure_dt = structureData(prefix, conceptScheme, endpoint, language)
}