This tool was made to display the evolution of locations on a map.
-
Get the dependencies.
npm install
-
Set your environment variables.
Rename
.env.development.sample
to.env.development
and edit the file as needed. -
Run it!
npm run develop
-
Look at the demo data!
Open your browser, navigate to
http://localhost:8000/
. Play with the slider to see how the locations change over time.
-
Warning.
You're responsible for the usage you make of this tool. Be very careful with the data you will be working with. Respect all the applicable laws.
-
Requirements.
pip install pyarrow pandas npm i
-
Set your environment variables.
Rename
.env.development.sample
to.env.development
and fill the form. -
Get the data from myturn.
npm run get-data
-
Collect all the files into one.
npm run merge-data
-
Download file with postcodes and coordinates.
If you're not in the UK, you'll have to do a bit of work here: You need to get the longitude and latitude for your zip codes/ postcodes.
If in the UK, you might want to get a different file here: https://www.getthedata.com/open-postcode-geo The default file is massive and will take forever but regional extracts are available. Modify
scripts/get_uk_postcodes.sh
accordingly.npm run get-uk-postcodes
-
Add coordinates to the collection file.
npm run merge-data-and-coord
-
Run it!
npm run develop
-
Look at your data!
Open your browser, navigate to
http://localhost:8000/
. Play with the slider to see your locations change over time.