% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/classificationList.R
\name{classificationList}
\alias{classificationList}
\title{List available classification schemes from CELLAR or FAO}
\usage{
classificationList(endpoint = "ALL", showQuery = FALSE)
}
\arguments{
\item{endpoint}{Character scalar. One of "CELLAR", "FAO" or "ALL".
"ALL" queries both repositories and returns a named list.}

\item{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).
}
\description{
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.
}
\examples{
\dontrun{
head(classificationList("CELLAR"))
res <- classificationList("FAO", showQuery = TRUE)
names(res)
}

}
