Skip to content

Kat-Key/DC_Scooters

Repository files navigation

DC_Scooters

For a final project in URPL-GP-1620 - Spatial Analysis and Visualization at NYU Wagner, I decided to explore DC Scooters. Due to the lack of available dataset, I created my own by calling the Dockless Vehicle APIs (available at https://ddot.dc.gov/page/dockless-api) five times a day for about a week.

This documentation will primarily discuss how I created “dc_scooter_data.csv,” but I have also uploaded the dataset with DC Ward location added.

Data Gathering Process

Starting November 14, 2019, I began calling the following Dockless Vehicle APIs and downloading the returned json file:

My analysis focuses primary in scooters, so I did not include Jump Bikes or Capital Bikeshare information. I also had problems with the Razor API so I left it out.

From November 16th – November 22nd, I consistently downloaded the free_bike_status.json at the following times:

  • 8:30AM
  • 12:00PM
  • 3:30PM
  • 6:30PM
  • 9:30PM

These times are approximations as I was downloading manually, but all were called within three minutes of the recorded time. On December 14th and 15th I did not download at consistent times. I have not filtered these days out however, because they may prove useful for some analysis.

Dates

All dates have been set to an ISO 8601 format, but due to issues with the times when uploaded to rstudio, I did not set the timezone. All data was downloaded post day light saving time in EST.

What is this data?

Each company's public dockless API returns a free_bike_status.json that includes the location of all available vehicles at that moment. This data does not let us know how many vehicles are in use, and the bike_id is randomized ever time the API is called in order to protect customer privacy. This dataset is effectively a time capsule of where dockless scooters from seven companies were located at five different times throughout the day over approximately 8 days.

DC Ward Location

Using QGIS I joined the dc_scooter_data.csv and the Ward from 2012 dataset (found here). The Ward data comes with a lot of attributes beyond the name and was difficult to upload to analyze. I slimmed the initial data to just include the bike ID, latitude, longitude, company name, date and time, ward name, and ward number. This data is published as “dc_scooter_data_ward_slim.csv.”

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors