Erin Dupay

Combining Dreams with Data

Analysis of A Year of Divvy Bike Riders

Exploratory Analysis for December 2020 - November 2021 Historical Data

In the last year I moved from the very rural Poconos to the suburbs of Seattle, near where I grew up. A number of changes have occurred since I left the area, but some of the notable changes are related to the population increase, housing changes, and the new light-rail which is currently under construction. Traffic congestion has been a problem for as long as I can remember, but luckily, Seattle is home to a great public transportation system, an established multi-use network of trails and bridges, and marked traffic lanes for bikes on many roadways. With moderate, albeit drizzly weather year-round, getting around the city using a combination of walking, biking and public transportation can be affordable, pleasant and a great way to get some needed exercise.

Having so many options for getting around in Seattle, many families are able to voluntarily downsize to a single car. For some, however, the downsizing is not by choice. As the cost of living continues to rise due to economic pressures many individuals and families are forced to cut costs wherever they can. The cost of owning a car can be as low as $6,496(“Living Wage Calculator - Living Wage Calculation for Seattle-Tacoma-Bellevue, WA n.d.) to well over $11,000 a year, versus owning a bike at a modest cost of only $100 to $400 per year, depending on the estimate. We can assume for sake of simplification that we will go with $350, and add this to the most expensive Regional Pass on an ORCA card, costing $360 a month (although the $99 or $108 per month passes or more common)(ORCA: Home” n.d.), which comes out to $4670 per year when using public transportation in addition to a bike for a daily commute. Admittedly, Seattle has hills, and some people do not love the rain as much as I do, so this is where an ebike could be useful. Again, you’d need to consider a slight cost increase, but once the bike investment has been made, it is largely the same as a classic petal bike for maintenance, only needing additional costs for replacing batteries every few years and regular charging (“Electric Bike Maintenance Cost” n.d.), which is minimal and dependant of current energy costs. Owning any bike, however, may not be an option to everyone, particularly if living in one of the many small apartments around the area which do not offer safe storage options for bikes.

In many Seattle neighborhoods, bright orange Lime bikes have been scattered throughout and parked on the edge of the sidewalk or in parking lots, offering ebike options to the community. Lime bikes is a local Bike-share company owned and operated by Uber which offers $1 unlocked fees and per minute charges for ebikes and scooters. Other companies in Seattle include Jump and Veo, but all of these companies are independently owned and operated (“Bike Share - Transportation Seattle.gov” 2021). Recently these bikes have been disappearing, after for what seemed like months of sitting around, and looking neglected. It appeared to me that these bikes never moved, seeing the same graffiti tagged bikes repeatedly on my runs through the neighborhood. Now, they appear to being replaced by newer green, black and white electric scooters. Scooters are clearly more fun, but why this change? Maybe there is something in their ridership data that shows them what riders are preferring. Perhaps they have data identifying trends in bike usage that I don’t have access to, which would indicate that the usage is higher than I thought.

Thus far, I have been unable to find any historical open data from these companies. While completing my Google Data Analytics Professional Certification I was exposed to Divvy Bikes, a Chicago based bike-share company, which does offers historical open data that can be used to do an exploratory analysis on how a ride-share company might be used in this neighborhood. I should be clear however, this analysis has nothing to do with Seattle. I am looking at Chicago data to understand how bike-share companies might be offering affordable transportation options, and how they might be used by riders. Divvy data collected from December 2020 through November 2021 contains data related to their two rider types: annual membership riders and non-membership rider, the last we will call Casual Riders. What this data shows is that annual membership holders use the bikes to go about regular daily activities(commuting, exercise, work or personal errands, etc), whereas non-membership or casual riders are likely using the bikes for sight-seeing and recreation.

Divvy Bikes - The Company

Divvy is a bike share system, started in 2013 and owned by the Chicago Department of Transportation. Staring in 2019, Lyft took over the management, while Chicago Department of Transportation retained the ownership. The system has been expanded and now spans the Evanstan and Chicago areas, with pricing options that can be used by both visitor and resident riders. The bikes include classic bikes and e-bikes to accommodate different fitness levels which are checked out and returned to any of Divvy bikes network of docking stations. At the time of this report, there were 836 stations with a fleet of up to 16,500 total bikes with ~7,000 of those being e-bikes(“Divvy Kicks Off West Side Expansion with 3,500 Bikes, 107 ‘e-Station’ Parking Areas. Streetsblog Chicago” 2021a).

Pricing options include:

  • Single Ride for up to 30 minutes priced at $3.30

  • Day Pass for unlimited 3 hour rides within 24 hours for $15

  • Annual Membership for unlimited 45 minute rides priced at $108 for the year.

Single Riders and Day Pass Riders are what I will consider as Casual Riders, as this is consistent with the terms used by Divvy Bikes to refer to the non membership riders.

Additional fees are added if:

  • Bike is out longer than allowed time limit: $0.15/minute

  • Upgrading to an ebike: $0.20/minute for Zone 1 for Casual Riders and $0.15/minute for Membership riders, however there is no upgrade fee for Zone 2.

  • Bike is lost or stolen: $1200

  • Parking violations: $25

Investigation Problem

This exploratory analysis will focus on how riders use the bikes. This question can be answered by looking at the following three questions:

  • Where do they get their bikes?
  • What routes are they traveling?
  • When are they riding?

The Data

The Divvy bikes open historical data is provided at the website https://divvy-tripdata.s3.amazonaws.com/index.html under the Divvy Data License Agreement. In this analysis I look at the historical data from the last 12 months which include data collected from December of 2020 through November 2021, although data is available beginning in 2013 and appears to update monthly.

This dataset include trips that are anonymized to include:

  • Ride identifiers (ride_id)
  • Bike type used (rideable_type)
  • Trip start date and time (started_at)
  • Trip end date and time (ended_at)
  • Trip start station (start_station_name), with stations identifiers (start_station_id) and locations in latitude and longitude (start_lat, start_lng)
  • Trip end station (end_station_name), with stations identifiers (end_station_id) and locations in latitude and longitude (end_lat, end_lng)

Data is expected to be pre-processed to remove trips taken by staff as they service or inspect the system, as well as removing any trips under 60 seconds due to potentially false starts. See here for details provided by Divvy. Cleaning of this data was completed to remain consistent with what was stated.

Open data for the station names for verification of stations is provided by the Chicago Data Portal Website here. This data tracked historical data for all bicycles and bike docks, and has 8 variables which include:

  • Station IDs (ID)
  • Station Name
  • Total Docks
  • Docks in Service
  • Status
  • Latitude
  • Longitude
  • Location (combined latitude and longitude)

Cleaning the Data

Normal Cleaning processes were completed before the analysis took place. Cleaning steps were are follows:

  1. Checking the structure of the individual files and merging into a single data frame.

  2. Checking for duplicates, staff rides and ride duration that were negative or less than one minute, and removing these from the data frame.

  3. Correcting obviously incorrect Station names. I did not, however, remove rides without a stations name. It is clear from the website discussing fines that occasionally users return bikes without docking with a station. My assumption is that another rider would be able check out an un-docked bike near a station without issue.

  4. Aggregating data required the use of variables that were not provided, so the following data variables were added to the dataset:

  • date (yyyy-mm-dd): this will be the date at which the bike was initially checked out, extracted from started_at, then broken down into separate columns for:

    • month
    • day
    • year
    • day_of_week: a calculated field based on the actual date.
  • ride_length_sec (in seconds): a calculated field based on the started_at and ended_at dates.

  • ride_length_min (in minutes): a calculated field based on the started_at and ended_at dates.

  1. Some stations had to be removed as they were not consistent with the stations data provided by the Chicago Department of Transportation data. My assumption was that these rides were completed staff members, so the rides containing start or stop locations at the following stations where removed.
  • Base - 2132 W Hubbard Warehouse
  • Chicago Ave & Dempster St (listed as a future site not yet operating at the time of this analysis)
  • DIVVY CASSETTE REPAIR MOBILE STATION
  • HUBBARD ST BIKE CHECKING (LBS-WH-TEST)
  • Lyft Driver Center Private Rack
  • WEST CHI-WATSON

There were two other stations that were not valid operating stations according to my dataset on station data.

  • The Marshfield Ave & Cortland St station: I could not determine if this was temporarily or permanently closed. As it has been a valid station for the last 7 years, all riders for this station were kept.

  • The Throop/Hastings Mobile Station: located on the opposite side of Fosco Park from another station and. I could not find anything confirming it as an operational station. so I assumed this to be a temporary station. I relabeled all start and end stations that used this station using the closest station at the Racine Ave & 13th St Station, also located at Fosco Park.

This final data frame contains 4,466,054 observations and 20 variables, which was then exported as a CSV file for analysis in both R and Tableau Public.

The Analysis

Final Conclusions

In this analysis I set out to investigate how the riders used Divvy bike-share bikes, to better understand the use of bike-share companies use in city neighborhoods. By considering both casual riders and membership riders, I analyzed only three questions which could ultimately be answered based on the data. These three questions asked about where riders were riding, what routes they were taking, and when they were riding and led to the following conclusions:

  • Casual riders made up 45% of riders, and were likely doing casual sight-seeing trips. They commonly favored weekends and summer at and around the Navy Pier. Many of these riders were likely performed by non-resident guests of the city who could benefit from short term payment options.

  • Membership riders made up 55% of riders, and were likely commuting or carrying out their daily activities and exercise when the weather permitted safe use and travel.

Seattle, like Chicago, has many recreational and tourist sites which attracts both tourism and locals. The pandemic forces us to mask up while going to the gym, which can be uncomfortable and too much for many people. Outdoor activities are a great way to keep active. Seeing how Divvy bikes in Chicago were used over the last year for exercising by both casual riders and membership riders, shows that bike-share companies offer a great, affordable and safe option for transportation, recreation and exercise.

Other Questions

As an outsider to Chicago, I love that these bikes are widely available to the community, and I can see how it is being used in Chicago. I can see how this sort of system can be applied to other cities like Seattle. This analysis has helped me to truly understand how bike-share systems could be useful in my local community, despite my inability to obtain local data. There were some other questions I would have liked to investigate that might have added to my general understanding, however the data needed to understand those questions was either missing or very difficult to extract from the available data. Additionally there were a few things that alluded to some potential issues with the Divvy system.

1. While investigating the station locations, I referred often to Google maps in order to look at the street level images. Images and negative reviews showed me that there may be an issue with stocking of classic bikes near resident locations that would convince locals to purchase membership passes. In another analysis, it might be helpful to do a more detailed station evaluation to understand how stocked, or under stocked, a station might be. This was not part of the question I was asking, but would be an interesting investigation focusing on the Membership rider. This analysis could even go further to get more detailed data on what amenities are nearby or how the demographics are distributed around the stations.

2. As part of this analysis I considered views from every variable in my final exported dataset. While analyzing trip duration, I became convinced that inexperienced riders venturing for the first time, may not understand the locking mechanisms, or the requirement to lock the bikes at an appropriate Divvy station. First, February has the lowest number of trips taken by both groups, likely due to weather in the area, however there were the highest number of outliers when considering the trip duration. There where multiple casual rides which lasted for more than 3 weeks. However the largest outliers for membership riders was about a day. I feel it is unlikely that any ride actually lasted that long, making it clear that there may be an issue with locking mechanism just failing. Particularly, since Divvy charges $1200 for a lost or stolen bike after only 24 hours.

3. When analyzing routes, I found that latitude and longitude coordinates for routes that started and ended in the same station did not actually occur in the same point. it is expected there was some small variations, but at times there were trips that went completely across the park and were considered the same station. When comparing this with bike types, which should have only had classic and electronic bike options, also had a docked bike category. I could not track down what a docked bike was, so ultimately I assumed that some bikes where not properly docked. In reading about the expansions “Divvy Kicks Off West Side Expansion with 3,500 Bikes, 107 ‘e-Station’ Parking Areas. Streetsblog Chicago” (2021b), from a comment on this articleit is made clear that there are separate docking systems for classic bikes vs ebikes. Inexperienced riders may not truly understand the system, or that they need to be docked at the correct station. The website would lead me to believe that any Divvy station would work.

References

“10 Cities with the Best Public Transportation and What Transit Planners Can Learn from Them.” n.d. Accessed January 10, 2022. https://www.remix.com/blog/10-cities-with-the-best-public-transportation.
“About Seattle - OPCD Seattle.gov.” n.d. Accessed January 13, 2022. https://www.seattle.gov/opcd/population-and-demographics/about-seattle.
Alex. n.d. “Over 450 Electric Bikes Compared! What Does an Ebike Cost? eBikesHQ.com.” Accessed January 14, 2022. https://ebikeshq.com/cost-of-an-ebike/.
“Bike Share - Transportation Seattle.gov.” 2021. December 7, 2021. http://www.seattle.gov/transportation/projects-and-programs/programs/bike-program/bike-share.
“Census Data Shows Seattle’s Population Surge over Last Decade, Fueled in Part by Tech Job Growth. GeekWire.” 2021. August 13, 2021. https://www.geekwire.com/2021/census-data-shows-seattles-population-surge-last-decade-fueled-part-tech-job-growth/.
Chicago, CBS. 2013a. “City’s Bike Sharing Program Launches Today.” CBS Chicago. CBS Chicago. https://chicago.cbslocal.com/2013/06/28/citys-bike-sharing-program-launches-today/.
———. 2013b. “City’s Bike Sharing Program Launches Today.” June 28, 2013. https://chicago.cbslocal.com/2013/06/28/citys-bike-sharing-program-launches-today/.
“Divvy Blog. Divvy Bikes.” n.d. Accessed January 10, 2022. http://ride.divvybikes.com/blog.
“Divvy Kicks Off West Side Expansion with 3,500 Bikes, 107 ‘e-Station’ Parking Areas. Streetsblog Chicago.” 2021a. July 9, 2021. https://chi.streetsblog.org/2021/07/09/divvy-kicks-off-west-side-expansion-with-3500-bikes-107-e-station-parking-areas/.
———. 2021b. July 9, 2021. https://chi.streetsblog.org/2021/07/09/divvy-kicks-off-west-side-expansion-with-3500-bikes-107-e-station-parking-areas/.
“Divvy System Data. Divvy Bikes.” n.d. Accessed January 4, 2022. http://ride.divvybikes.com/system-data.
“Electric Bike Maintenance Cost.” n.d. Accessed January 13, 2022. https://bicyclevolt.com/electric-bike-maintenance-cost/.
Facebook, Twitter, and University of Toronto. n.d. “How Much Does It Cost to Commute by Bike? Treehugger.” Accessed January 13, 2022. https://www.treehugger.com/how-much-does-it-cost-to-commute-by-bike-4858452.
Gilmore, Susan. 2010. AAA Calculates Annual Cost to Own/Operate Car: $8,500. The Seattle Times.” April 8, 2010. https://www.seattletimes.com/seattle-news/aaa-calculates-annual-cost-to-own-operate-car-8500/.
“Google Maps. Google Maps.” n.d. Accessed January 11, 2022. https://www.google.com/maps/search/Divvy,+Chicago,+IL/@41.8989125,-87.7013528,13.12z.
Grolemund, Garrett, and Hadley Wickham. 2011. “Dates and Times Made Easy with lubridate.” Journal of Statistical Software 40 (3): 1–25. https://www.jstatsoft.org/v40/i03/.
“Has Seattle Found the Solution to Driving Alone to Work? - POLITICO Magazine.” n.d. Accessed January 13, 2022. https://www.politico.com/magazine/story/2019/05/23/seattle-car-free-transportation-what-works-226935/.
“Home Divvy Bikes.” n.d. Accessed January 4, 2022. https://divvybikes.com/__tbs/divvybikes.
Kunst, Joshua. 2020. Highcharter: A Wrapper for the ’Highcharts’ Library. https://CRAN.R-project.org/package=highcharter.
“Living Wage Calculator - Living Wage Calculation for Seattle-Tacoma-Bellevue, WA.” n.d. Accessed January 13, 2022. https://livingwage.mit.edu/metros/42660.
Lloyd, Sarah Anne. 2017. “How Do Seattle Commutes Happen? Curbed Seattle.” September 21, 2017. https://seattle.curbed.com/2017/9/21/16346824/seattle-commute-data-bus-drive.
ORCA: Home.” n.d. Accessed January 13, 2022. https://orcacard.com/ERG-Seattle/p1_001.do.
“Pricing Divvy Lyft.” n.d. Accessed January 4, 2022. https://lyft.com/bikes/chicago-il/pricing.
“Privacy Policy.” n.d. Accessed January 4, 2022. https://www.li.me/en-us/legal/privacy-policy/.
R Core Team. 2013. R: A Language and Environment for Statistical Computing. Vienna, Austria: R Foundation for Statistical Computing. http://www.R-project.org/.
SeattlePI, Alec Regimbal. 2021. “Seattle’s Cost of Living Is 56.8% Higher Than National Average. Seattlepi.com.” June 22, 2021. https://www.seattlepi.com/local/seattlenews/article/seattle-cost-living-higher-than-national-average-16265888.php.
“The Reward for Expansion and Electrification of Divvy Is Record-Breaking Ridership. Streetsblog Chicago.” 2021. September 24, 2021. https://chi.streetsblog.org/2021/09/24/the-reward-for-expansion-and-electrification-of-divvy-is-record-breaking-ridership/.
Wickham, Hadley, Mara Averick, Jennifer Bryan, Winston Chang, Lucy D’Agostino McGowan, Romain François, Garrett Grolemund, et al. 2019. “Welcome to the tidyverse.” Journal of Open Source Software 4 (43): 1686. https://doi.org/10.21105/joss.01686.