Skip to content

Empty Query #75

Description

@julianv95
  • Datenguide Python version: 0.1.2 and 0.2.0
  • Python version: 3.7.5
  • Operating System: macOS Sierra 10.12.6

Description

I tried to request the census data grouped by age for a single city. As a result i get a an empty query. I played around for a bit and discovered, that for the age groups none of the enum values besides "GESAMT" are working. The enum "GES" works fine with all three of its values.
Maybe this isn't a bug at all and i just made a mistake but i don't know what to try next.

I tried version 0.2.0 and 0.1.2 and got the exact same result.

What I Did

query = Query.region('08226098')
field = query.add_field('BEVSTD') 
#field.add_args({'year': [2018]})
field.add_args({'ALTX20': 'ALT045B50'}) # this doesn't work
#field.add_args({'GES': 'GESW'}) # this does work
field.get_info()

df = pd.DataFrame(query.results())

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions