pandaSDMX icon indicating copy to clipboard operation
pandaSDMX copied to clipboard

Eurostat - missing codelists values

Open zymon opened this issue 2 years ago • 0 comments

import pandasdmx as sdmx client=sdmx.Request('ESTAT') flow=client.dataflow('GOV_10Q_GGNFA', params={'detail': 'referencepartial'}) print(f'codelist: {flow.codelist}')

Output: codelist: {'GEO': <Codelist ESTAT:GEO(13.1) (0 items)>, 'S_ADJ': <Codelist ESTAT:S_ADJ(1.9) (4 items): Seasonal adjustment>, 'UNIT': <Codelist ESTAT:UNIT(15.2) (0 items)>, 'SECTOR': <Codelist ESTAT:SECTOR(9.2) (6 items): Sector>, 'FREQ': <Codelist ESTAT:FREQ(1.31) (0 items)>, 'OBS_FLAG': <Codelist ESTAT:OBS_FLAG(1.31) (0 items)>, 'NA_ITEM': <Codelist ESTAT:NA_ITEM(9.0) (0 items)>}

GEO: has no items, the same for UNIT

Or flow.structure['GOV_10Q_GGNFA'].dimensions.components[5].local_representation

output: <Representation: GEO, []>

This was first discovered in sdmx1: https://github.com/khaeru/sdmx/issues/116

zymon avatar Mar 07 '23 13:03 zymon