Jitenshea: bicycle-sharing data analysis
It's an archived repo.
Jitensha (bicycle) + Shea (share) = Jitenshea
Analyze bikes sharing station data in some cities where there are Open Data.
You have three parts in this project:
a data pipeline and data processing with luigi to get, transform and store data
Some statistics and Machine Learning to analyze the time series and predict the bikes availability for each station.
Web application to get and visualize some data through a REST API
Open Data from the French cities Bordeaux and Lyon:
Some luigi tasks can be called every 10 minutes for instance to gather the bicycle-sharing stations data. Another one is called every day to aggregate some data. You can use cron-job to carry out this stuff.
Contributions for other cities are welcomed! e.g. Nantes, Paris, Marseille, etc.
A configuration file sample can be found at the root directory
config.ini.sample. Copy it into the
rename it into
config.ini and update it.
It is used for the database access, some tokens for API, etc.
PostgreSQL database with PostGIS. You must have the
All Python requirements are specified in the
Create a new
virtualenv, then do
pip install . in the project root directory.
yarn then launch
- Install the extras dependencies, e.g.
pip install -e ."[dev]".
- Launch test with
Logo was designed by Sylvain. Thanks to him!