Code and useful stuff to support my Data Science Festival presentation on 04/04/2020.
The Notebook requires pandas
, geopandas
, geoplot
and mapclassify
to run (and possibly other stuff too...)
You'll also need to install NodeJS and set up some notebook widgets if you want to render Kepler in your notebook. Full instructions for KeplerGL are here.
# Conda
# Create environment
conda env create -f environment/environment.yml
# Activate environment
conda activate dsf-geo-presentation
# Install the Kernel
ipython kernel install --user --name=dsf-geo-presentation
# Run the notebook server
jupyter notebook
# Create the environemnt
virtualenv dsf-geo-presentation
# Activate the environment (mac / linux)
source dsf-geo-presentation/bin/activate
# Activate the environment (windows)
dsf-geo-presentation\Scripts\activate
# Install dependencies
pip install -r environment/requirements.txt
# Install the Kernel
ipython kernel install --user --name=dsf-geo-presentation
# Run the notebook server
jupyter notebook
The notebook is designed to be presented in slides mode. This can be activated as follows:
jupyter nbconvert *.ipynb --to slides --post serve
General Resources:
- What is GIS?
- A Gentle Introduction to GIS
- Coordinate Reference System (CRS) Finder
- ONS Geography Hierarchies
Data Sources:
- Data.gov.uk
- ONS 2011 Census
- Google Open Datasets (may require sign up to Google Cloud Platform)
- Data.world
- Awesome Public Datasets (Github)
- Kaggle
Map Sources:
Supporting Data:
Reference: