Skip to content

Add eTeryt designators if applicable#4

Draft
not7cd wants to merge 2 commits into
dtandev:masterfrom
not7cd:not7cd-patch-1
Draft

Add eTeryt designators if applicable#4
not7cd wants to merge 2 commits into
dtandev:masterfrom
not7cd:not7cd-patch-1

Conversation

@not7cd

@not7cd not7cd commented Mar 31, 2020

Copy link
Copy Markdown

Motivation

Italian ministry shares its data here: https://github.com/pcm-dpc/COVID-19
In region files, they use region codes next to region names.

Poland has a system for unique ids for cities and administration units.
http://eteryt.stat.gov.pl/eTeryt/

Because in Poland there are cities with non-unique names, adding such ids should help with further data manipulation.

Proposed change

Add python modules with CLI capability to seamlessly integrate into the current environment.
They should:

  • Modify files only if there is missing data.
  • Not modify rows if unique id was not found for a given row.
  • Could be run over files multiple times resulting in exactly the same output.
  • Report which rows need manual investigation.

TODO

  • Script to add WOJ columns
  • Script to add POW columns
  • Script to add SYMPOD columns
  • Script to report problematic rows

I hope that this can be seen as helpful in the long run. I'm open to suggestions. This relates to #2

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

Successfully merging this pull request may close these issues.

1 participant