kd_validate_datasets_local()

Validate multiple datasets for SDMX compliance.

Usage

Source

kd_validate_datasets_local(
    datasets,
    schema,
    boolean,
)

Ensures each dataset has STRUCTURE, STRUCTURE_ID, and ACTION columns. See the SDMX-CSV field guide <https://github.com/sdmx-twg/sdmx-csv/blob/master/data-message/docs/sdmx-csv-field-guide.md>__ for more details.

Parameters

datasets: dict

Dictionary of datasets to be validated.

schema

Schema object containing validation information.

boolean: bool
A flag to force order execution in Kedro.

Returns

dict

A tuple of two dictionaries. The first maps each key to True/False,

and the second maps each key to its error dictionary.