A Python Toolkit for Urban Resilience and Disaster Risk Management Analytics using High Frequency Human Mobility Data
Project description
mobilkit
A Python Toolkit for Urban Resilience and Disaster Risk Management Analytics using High Frequency Human Mobility Data.
mobilkit
provides a set of tools to analyze mobility traces to assess the users response to extreme events.
Try mobilkit
without installing it in a MyBinder notebook:
Table of contents
Documentation
Full documentation with examples can be found online here, otherwise see the notebooks in docs/examples for a step-by-step coverage of the library or the ones in examples/ for a more detailed showcase of the package's capabilities.
Collaborate with us
mobilkit
is an active project and any contribution is welcome.
You are encouraged to report any issue or problem encountered while using the software or to seek for support.
If you would like to contribute or add functionalities to mobilkit
, feel free to fork the project, open an issue and contact us.
Installation
Install with pip
Start by creating an environment and install mobilkit there.
-
Create an environment
mobilkit
python3 -m venv mobilkit # or, on Windows python -m venv c:\path\to\mobilkit
-
Activate
source mobilkit/bin/activate # or, on Windows c:\path\to\mobilkit\Scripts\activate.bat
-
Update pip
pip install --upgrade pip
-
Install
mobilkit
(this will also installDask
and all the needed modules)pip install mobilkit
-
OPTIONAL to use
mobilkit
on the jupyter notebook-
Activate the virutalenv:
source mobilkit/bin/activate
-
Install jupyter notebook:
pip install jupyter
-
Run jupyter notebook
jupyter notebook
-
(Optional) install the kernel with a specific name to your existing notebook server
source mobilkit/bin/activate pip install ipykernel ipython kernel install --user --name=mobilkit_env
-
If you already have scikit-mobility
installed, skip the environment creation and run these commands from the skmob anaconda environment.
mobilkit
by default will only install core packages needed to run the main functions. There are three optional packages of dipendencies (the mobilkit[complete]
installs everything):
[viz]
will installcontextily
, needed to visualize map backgrounds in certain viz functions;[doc]
will install all the needed packages to build the docs;[skmob]
will installscikit-mobility
as well;[locations]
will also installinfostop
to detect users' typical locations.
Install with conda
TODO
Test the installation
> source activate mobilkit
(mobilkit)> python
>>> import mobilkit
>>>
Examples
Several notebooks are found in the docs/examples folder, we resume here the most important ones.
Quickstart
We show the basic usage and functionalities in the mobilkit_tutorial.ipynb notebook.
Citing
If you use mobilkit
please cite us:
Enrico Ubaldi, Takahiro Yabe, Nicholas K. W. Jones, Maham Faisal Khan, Satish V. Ukkusuri, Riccardo Di Clemente and Emanuele Strano Mobilkit: A Python Toolkit for Urban Resilience and Disaster Risk Management Analytics using High Frequency Human Mobility Data, 2021, KDD 2021 Humanitarian Mapping Workshop, https://arxiv.org/abs/2107.14297
Bibtex:
@misc{ubaldi2021mobilkit,
title={Mobilkit: A Python Toolkit for Urban Resilience and Disaster Risk Management Analytics using High Frequency Human Mobility Data},
author={Enrico Ubaldi and Takahiro Yabe and Nicholas K. W. Jones and Maham Faisal Khan and Satish V. Ukkusuri and Riccardo {Di Clemente} and Emanuele Strano},
year={2021},
eprint={2107.14297},
primaryClass={cs.CY},
archivePrefix={arXiv},
}
Credits and contacts
This code has been developed by Mindearth, the Global Facility for Disaster Reduction and Recovery (GFDRR) and Purdue University.
Funding was provided by the Spanish Fund for Latin America and the Caribbean (SFLAC) under the Disruptive Technologies for Development (DT4D) program.
The code is released under the MIT license (see the LICENSE file for details).
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file mobilkit-0.2.8.tar.gz
.
File metadata
- Download URL: mobilkit-0.2.8.tar.gz
- Upload date:
- Size: 63.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 562a99188856000517f53cb9d3e70424563ac7dbd0a55b6680793741554aa612 |
|
MD5 | 6050cae1840fd6b78d8ce8540db7c344 |
|
BLAKE2b-256 | b012de2625a369ef24c13950db0241ec06eae3cd96da80de9625b0a6c61a021d |
File details
Details for the file mobilkit-0.2.8-py3-none-any.whl
.
File metadata
- Download URL: mobilkit-0.2.8-py3-none-any.whl
- Upload date:
- Size: 65.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee37f3ef2078b9ba732a3bcc35c34323144a02c18f2d3626a054a454a03bf332 |
|
MD5 | a7502d49f69775a0f5fe4c5afcb74a9e |
|
BLAKE2b-256 | b36540c53e83a8f555e158370b6ca6e4d8b12c5b5be0ea8b5284c430f36831c0 |