R/classEndpoint.R
classEndpoint.Rd
Retrieve a list of classification tables in CELLAR, FAO or both.
classEndpoint(endpoint)
A string of type character containing the endpoint where the table is stored.
The valid values are "CELLAR"
, "FAO"
and "ALL"
for both endpoints.
classEndpoint()
returns a table with information needed to retrieve the classification table:
Prefix name: the SPARQL instruction for a declaration of a namespace prefix
Conceptscheme: taxonomy of the SKOS object to be retrieved
URI: the URL from which the SPARQL query was retrieved
Name: the name of the table retrieved
{
endpoint = "ALL"
list_data = classEndpoint(endpoint)
}