Get a codelist based on an identifier

get_codelist(
  identifier,
  environment = "PRD",
  language = "all",
  export_format = "SDMX-ML",
  version_format = 2.1,
  annotations = FALSE
)

Arguments

identifier

the codelist's identifier

environment

environment on which to query API Available are 'PRD', 'ABN', 'TEST', 'QA' and 'DEV'.

language

string for language(s) to return. Available are 'all', 'fr', 'de', 'it', 'en'. If 'all' (default), all languages are returned.

export_format

the export's format Available are CSV, XLSX, SDMX-ML or JSON.

version_format

the export format's version (2.0 or 2.1 when format is SDMX-ML).

annotations

flag to include annotations

Value

response based on the export format