Created
January 7, 2019 08:39
-
-
Save cblanc/5d6300c8d2778da9bcc26beae481a966 to your computer and use it in GitHub Desktop.
Extract NL streetnames / postcodes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Get raw dataset | |
wget https://s3.amazonaws.com/data.openaddresses.io/runs/554587/no/countrywide.zip | |
unzip countrywide.zip | |
# Extract street and postcode from CSV, get unique elements and stream to file | |
awk -F "\"*,\"*" '{print $4,$9}' countrywide/nl/countrywide.csv | uniq > nl-postcodes.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment