% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/correspondenceTableList.R
\name{correspondenceTableList}
\alias{correspondenceTableList}
\title{List available correspondence tables from online services}
\usage{
correspondenceTableList(endpoint = "ALL", showQuery = FALSE)
}
\arguments{
\item{endpoint}{Character. Which service(s) to query.
One or more of the supported endpoints (e.g. "CELLAR", "FAO"),
or "ALL" to query all available services. Case-insensitive.
If multiple endpoints are supplied (including "ALL"), a **named list**
is returned; otherwise a single `data.frame`.}

\item{showQuery}{Logical. If `TRUE`, the SPARQL queries used are emitted via
`message()` (suppress with `suppressMessages()`).}
}
\value{
If a single endpoint is requested, a `data.frame` (one row per correspondence).
If multiple endpoints are requested (including "ALL"), a **named list**
of data frames, one per endpoint.
}
\description{
Returns a data frame listing available correspondence tables (mappings between
statistical classifications) published by one or more supported online services.

Use this function to discover valid `prefix` and `ID_table` values before
calling `retrieveCorrespondenceTable()`.
}
\details{
Read-only queries; no side effects (no file writes or caching).
}
\examples{
\dontrun{
# List correspondence tables available in CELLAR
ct <- correspondenceTableList(endpoint = "CELLAR")
head(ct)

# List correspondence tables available in FAO
ct_fao <- correspondenceTableList(endpoint = "FAO")
head(ct_fao)

# Get correspondence tables from both repositories
ct_all <- correspondenceTableList(endpoint = "ALL")
names(ct_all)
}


}
\seealso{
retrieveCorrespondenceTable()
}
