Skip to content

ceat-epfl/sensecity-africa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub license Binder

SenseCity Africa

Crowdsensing urban data in Africa - sensecity-africa.io

Instructions

Running locally

From the root of this repository, follow the steps below:

  1. Create a conda environment
make create_environment
  1. Activate it
conda activate sensecity-africa
  1. Register the IPython kernel for Jupyter
make register_ipykernel
  1. Create a file named .env with the following content (to avoid disclosing your login credentials, remember to exclude such a file from version control):
USERNAME=<your-sensecity-africa-username>
PASSWORD=<your-sensecity-africa-password>

At this point, you can run the notebooks/photos-api.ipynb notebook to programatically download the photos and tags of the site.

Running in the browser via myBinder

Alternatively, you can run the notebook in the browser (using myBinder):

  1. Click the following badge to run a jupyter instance in the browser: Binder

2.Create a file named .env in the root of the repository with the following content:

USERNAME=<your-sensecity-africa-username>
PASSWORD=<your-sensecity-africa-password>

At this point, you can run the notebooks/photos-api.ipynb notebook to programatically download the photos and tags of the site.

Acknowledgments