Data Structure Definitions contain references to code lists. This function extracts those references and generates rules that check data against code lists in an SDMX registry.
validator_from_dsd(endpoint, agency_id, resource_id, version = "latest")
An object of class validator
.
[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.
Other sdmx:
sdmx_codelist()
,
sdmx_endpoint()