zensus_mv_grid_districts

Implements mapping between mv grid districts and zensus cells

class MapZensusGridDistricts(**kwargs)[source]

Bases: Base

Class definition of table boundaries.egon_map_zensus_grid_districts.

bus_id
zensus_population_id
class ZensusMvGridDistricts(dependencies)[source]

Bases: Dataset

Maps zensus cells to MV grid districts and writes it to database.

Dependencies
Resulting tables
name: str = 'ZensusMvGridDistricts'
sources: DatasetSources = DatasetSources(tables={'zensus_population': 'society.destatis_zensus_population_per_ha', 'egon_mv_grid_district': 'grid.egon_mv_grid_district'}, files={}, urls={})

The sources used by the datasets. Could be tables, files and urls

targets: DatasetTargets = DatasetTargets(tables={'map': 'boundaries.egon_map_zensus_grid_districts'}, files={})

The targets created by the datasets. Could be tables and files

version: str = '0.0.3'
mapping()[source]

Map zensus cells and MV grid districts and write to database.

Newly creates and fills table boundaries.egon_map_zensus_grid_districts.