validator_from_dsd: Extract a rule set from an SDMX DSD file

View source: R/sdmx.R

validator_from_dsdR Documentation

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")

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.

Value

An object of class validator.

See Also

Other sdmx: sdmx_codelist(), sdmx_endpoint()


validate documentation built on July 4, 2024, 9:07 a.m.