A library for analyzing user mobility patterns
Project description
mobipy is a Python 3 library for analyzing user movement patterns from geolocated data.
mobipy brings together metrics and functions frequently used to calculate user mobility patterns. It was developed with a focus on usability and compatibility with multiple data sets, facilitating the tasks of research and data analysis.
Mobipy is tested against Python 3.6 and 3.7.
Installation
Install using pip with:
pip install mobipy
Or, download a wheel or source archive from PyPI.
Available metrics
- Radius of gyration;
- Home detection;
- User displacement distance;
- Group by closeness;
- Activity centers;
Using mobipy metrics
dataIdentifier = Identifier("latitude", "longitude", "local_time", "start_time", "end_time", "item_id")
path = "data.csv"
dataframe = pd.read_csv(path)
result = metrics.radius_of_gyration(dataframe=dataframe, ##use keyword parameters
dataIdentifier=dataIdentifier,
selector= Selector())
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mobipy-1.0.0.tar.gz
(6.5 kB
view hashes)
Built Distribution
mobipy-1.0.0-py2-none-any.whl
(9.0 kB
view hashes)