Analysis tools for the Dockless Mobility dataset published by the City of Austin
You can find this dataset at https://data.austintexas.gov/Transportation-and-Mobility/Dockless-Vehicle-Trips/7d8e-dm7r
The main function of this script is to generate a database of Devices (by ID) from the supplied database of Trips. From this new database, it is possible to find the distribution of lifespan and revenue for dockless devices.
It is strongly recommended to use a Python virtual environment. To create a virtual env, use the venv feature of python3. Run the command below in the root project directory. Recommended folder name for the virtual environment is env.
python3 -m venv <env-folder-name>
To activate that virtual environment, use the command:
source <env-folder-name>/bin/activate
After activating, to install the dependencies run
pip3 install -r requirements.txt