Skip to content

Population data for 247 AGS that don't exist? #31

@curiousleo

Description

@curiousleo

I was trying to better understand GermanZero-de/localzero-generator-core#200, so I took a look at the population and AGS data used in that PR.

What I found is that population/2018.csv gives population data for AGS which according to ags/master.csv do not exist.

# Extract AGS from ags/master.csv
$ tail --lines=+2 ags/master.csv | cut -d, -f1 | sort >ags

# Extract AGS from population/2018.csv
$ tail --lines=+2 population/2018.csv | cut -d, -f1 | sort >pop

# Count the number of AGS in population/2018.csv but not in ags/master.csv
$ comm -13 ags pop | wc -l
248

Full result

Note that one of the AGS in population/2018.csv but not in ags/master.csv is "DG000000", which seems fine. That leaves 247 AGS that we have population data for at the end of 2018 but that are not in the list of valid AGS at the end of 2018.

There may well be a simple explanation for this, but nothing comes to mind right now. Any idea what's going on here?

Metadata

Metadata

Assignees

No one assigned

    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