These are instructions for running an OSM analysis environment locally using pre-processed editing histories and Jupyter notebook, as we did at the State of the Map US 2018 workshop.
For a more thorough write-up of the workshop goals and approach, see description.md.
The data
directory currently includes sample data for Detroit, Michigan. See the list at the bottom of the page to download pre-processed data for a few other North American cities.
The analysis
folder contains sample Jupyter Notebooks in python3
. See the Jupyter website for install instructions. This can be as easy as pip install jupyter notebook
, depending on your environment.
Once you have Jupyter installed, you'll need the following python packages many of these are already installed with the Anacondas Distribution
pandas
numpy
seaborn
matplotlib
networkx
From the sotmus-analysis directory, run jupyter notebook
and your browser should launch with the following:
To get started, click the analysis folder and open one of the notebooks:
The Per-Edit Analysis Notebook
A heatmap and timeline of building edits in Detroit constructed by the per-edit notebook
Detroit is currently available in this repository. Data for the following cities are available for download below (Data as of September 30, 2018). To use these files, download them and put them in the sotmus-analysis/data/
directory.