Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eurostat - missing codelists values #241

Open
zymon opened this issue Mar 7, 2023 · 0 comments
Open

Eurostat - missing codelists values #241

zymon opened this issue Mar 7, 2023 · 0 comments

Comments

@zymon
Copy link

zymon commented Mar 7, 2023

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: khaeru#116

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant