Learn R Programming

validate (version 1.1.5)

validator_from_dsd: Extract a rule set from an SDMX DSD file

Description

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.

Usage

validator_from_dsd(endpoint, agency_id, resource_id, version = "latest")

Value

An object of class validator.

Arguments

endpoint

[character] REST API endpoint of the SDMX registry

agency_id

[character] Agency ID (e.g. "ESTAT")

resource_id

[character] Resource ID (e.g. "CL_ACTIVITY")

version

[character] Version of the code list.

See Also

Other sdmx: sdmx_codelist(), sdmx_endpoint()