Skip to content

Instantly share code, notes, and snippets.

@philippgeisler
Last active August 29, 2015 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save philippgeisler/c18698aa22f86a19fab4 to your computer and use it in GitHub Desktop.
Save philippgeisler/c18698aa22f86a19fab4 to your computer and use it in GitHub Desktop.
(ungeprüft) Anzahl Hamburger Hausnummern nach Wohnlage 2011 gemäß http://suche.transparenz.hamburg.de/dataset/hamburger-wohnlagenverzeichnis
awk -F";" 'NR>1{lage[$7] += $(($4-$2)/2);}END{for (l in lage) printf("%8s%7s\n", l, lage[l]);}' < wohnlagenverzeichnis2011-opendata.txt
#> gut 40168
#> normal 103333
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment