This project is an interactive visualization of my mobility service provider trips. I aggregated data from Uber, Jump, Lyft, and Lime in order to make this map.
Explore trips across multiple cities using the grid view, filter trips by time with the histogram date filter, or explore total distance travelled by provider.
Uber provides a handy data download tool that provides access to all Uber trips, UberEATS orders, and JUMP trips. Submit a request for your data and it should be ready to download in a few hours.
Lyft enables a download of your trips through the Ride History in the mobile app. You can email yourself a CSV of your recent trips.
Lime was a little more difficult to get a copy of my data. They do not provide an easy export of your trip data like Uber and Lyft. Since I had used Lime in Berlin, I was eligible to request a copy of data under Article 15 of GDPR - Right of access by the data subject. Nearly 2 months and 10+ emails later with Lime, I finally received a copy of my data.
Except for Lime, my trips data only included start and end addresses. The actual path travel was not included in the data downloads. In order to draw polylines on the map, I used the HERE Routing API to calculate the estimated route from the starting point to the ending point. This process happened in the prep/index.js
file.
git clone https://github.com/dbabbs/mobility-map.git
cd mobility-map
npm install
npm start
You are welcome to recreate this project with your own mobility data.
prep/index.js
is a helpful script to help wrangle and enrich your data into the proper GeoJSON format. Once you run your data through that script, it can be plugged into the React application.