List all classification schemes available on the selected repository (CELLAR, FAO, or both). Returns, for each scheme, its prefix, identifier, URI, English title, and the list of languages detected on its concepts.

classificationList(endpoint = "ALL", showQuery = FALSE)

Arguments

endpoint

Character scalar. One of "CELLAR", "FAO" or "ALL". "ALL" queries both repositories and returns a named list.

showQuery

Logical; if TRUE, returns also the SPARQL query used.

Value

If endpoint is "CELLAR" or "FAO" and showQuery = FALSE: a data.frame with columns Prefix, ConceptScheme, URI, Title, Languages.

If showQuery = TRUE: a list with "ClassificationList" and "SPARQL.query".

If endpoint = "ALL": a named list with $CELLAR and $FAO. If showQuery = TRUE, each element is itself a list (ClassificationList + SPARQL.query).

Examples

if (FALSE) { # \dontrun{
head(classificationList("CELLAR"))
res <- classificationList("FAO", showQuery = TRUE)
names(res)
} # }