get_codelist_ids()

Retrieve all codelist IDs for given coded components.

Usage

Source

get_codelist_ids(
    comp,
    coded_comp,
)

Parameters

comp: px.model.dataflow.Components

A pysdmx Components collection.

coded_comp: list[str]
List of coded component IDs.

Returns

dict[str, list[str]]

Dictionary with coded component IDs as keys and lists of codelist

IDs as values.