Spatial Data Science for the Globe Data Science Program is the dedicated workshop material for the incoming batch of Globe DSP Cadets aimed to equip them with the basic skills to process and unravel insights using geospatial data.
Please execute the following steps in your local machine.
-
Clone the sds4gdsp github repository from this link.
git clone https://github.com/jpacil0/sds4gdsp.git
-
Create (then activate) a virtual environment named gdsenv with python=3.8.16.
conda create --name gdsenv python=3.8.16
-
Install jupyterlab and leafmap separately in that environment, we will use this for the workshop.
pip install jupyterlab
conda install leafmap -c conda-forge
-
Install the packages from the requirements.txt, follow the README.md.
pip install -r requirements.txt
-
Setup jupyter and the widgets to be used.
conda install -c conda-forge ipyleaflet
jupyter labextension install @jupyter-widgets/jupyterlab-manager jupyter-leaflet
Create a local copy of the fake telco datasets. This might take a while.
The scripts are designed to be configurable. See scripts/ and config/ for more details.
-
Create a fake set of telco subscribers.
python -m scripts.make_fake_subscribers
-
Create a fake set of telco cellsites.
python -m scripts.make_fake_cellsites
-
Create a fake set of telco transactions.
python -m scripts.make_fake_transactions
After you've completed the steps above, you should be able to see something like this.
sds4gdsp/data/
│ fake_subscribers.csv
│ fake_cellsites.csv
│ fake_transactions.csv
This workshop is a two-way street. Pay attention to the lecture, follow-along with the given code, and ask questions!
- Introduction: Grammar of Spatial Data Science
- Application: Calculating Telco Mobility Index
- Take Home: Mobility Index Calculation and Profiling