R: Extract a rule set from an SDMX DSD file

validator_from_dsd {validate} | R 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()`

[Package validate version 1.1.1 Index]