society_prognosis
The central module containing all code dealing with processing and forecast Zensus data.
- class EgonPopulationPrognosis(**kwargs)[source]
Bases:
Base- population
- year
- zensus_population_id
- class SocietyPrognosis(dependencies)[source]
Bases:
Dataset- name: str = 'SocietyPrognosis'
The name of the Dataset
- sources: DatasetSources = DatasetSources(tables={'map_zensus_vg250': 'boundaries.egon_map_zensus_vg250', 'zensus_population': 'society.destatis_zensus_population_per_ha', 'zensus_households': 'society.egon_destatis_zensus_household_per_ha', 'demandregio_population': 'society.egon_demandregio_population', 'demandregio_households': 'society.egon_demandregio_household'}, files={}, urls={})
The sources used by the datasets. Could be tables, files and urls
- targets: DatasetTargets = DatasetTargets(tables={'population_prognosis': 'society.egon_population_prognosis', 'household_prognosis': 'society.egon_household_prognosis'}, files={})
The targets created by the datasets. Could be tables and files
- version: str = '0.0.5'
The
Dataset’s version. Can be anything from a simple semantic versioning string like “2.1.3”, to a more complex string, like for example “2021-01-01.schleswig-holstein.0” for OpenStreetMap data. Note that the latter encodes theDataset’s date, region and a sequential number in case the data changes without the date or region changing, for example due to implementation changes.