sdmx_codelist
constructs an URL for rsdmx::readSDMX
and
extracts the code IDs. Code lists are downloaded once and cached for the
duration of the R session.
estat_codelist
gets a code list from the REST API provided at
ec.europa.eu/tools/cspa_services_global/sdmxregistry
. It is a
convenience wrapper that calls sdmx_codelist
.
global_codelist
gets a code list from the REST API provided at
https://registry.sdmx.org/webservice/data.html
. It is a convenience
wrapper that calls sdmx_codelist
.
sdmx_codelist(
endpoint,
agency_id,
resource_id,
version = "latest",
what = c("id", "all")
)estat_codelist(resource_id, agency_id = "ESTAT", version = "latest")
global_codelist(resource_id, agency_id = "SDMX", version = "latest")
[character]
REST API endpoint of the SDMX registry
[character]
Agency ID (e.g. "ESTAT"
)
[character]
Resource ID (e.g. "CL_ACTIVITY"
)
[character]
Version of the code list.
[character]
Return a character
with code id's, or
a data frame with all information.
Other sdmx:
sdmx_endpoint()
,
validator_from_dsd()
Other sdmx:
sdmx_endpoint()
,
validator_from_dsd()