MetroBike Austin: A Python Data Analysis

Posted on Feb 18, 2022

Data Analysis

The skills the authors demonstrated here can be learned through taking Data Science with Machine Learning bootcamp with NYC Data Science Academy.

Blog Headline Photo by Blog Author. The 21st & Speedway @PCL kiosk station.

The Take-Aways

  • Data showed that a pilot program offering a free annual student membership and infrastructure investments were catalysts for the ridership surge in 2018. 
  • Geospatial analysis of total rides by kiosk location revealed both the impact of the university pilot program and the Covid-19 pandemic.
  • To increase MetroBike ridership, future infrastructure projects should consider zones near colleges and introduce seasonal promotions or special events for the off-months of November, December, and January.

Introduction

Austin, TX, USA is a car-centric city. In 2019, the city estimated that 74% of Austin residents commuted to work alone by car [1]. To manage its ever-growing traffic congestion, the City of Austin has been investing in the expansion of its public transit, city bikeways, and urban trails. The intention is to increase transportation options, to ultimately broaden the transportation behavior of its residents, and increase commuters that use public transit, walk, scoot, or bike.

In summer 2020, the City and the Capital Metropolitan Transportation Authority (CapMetro) entered into a partnership with the local nonprofit Bike Share of Austin [2]. This partnership rebranded the nonprofit's bike-share program, previously called Austin B-cycle, as MetroBike. The partnership’s goal was to broaden the bike-share system and integrate it into the larger CapMetro public transit ecosystem [2]. 

Key Business Objective

The project objective was to identify actionable steps to increase MetroBike ridership. Ridership generally refers to the number of individuals using a given transit program and here is represented by annual total trips. As a result, the data analysis aimed to understand what underlying factors contributed to increases and decreases in annual total trips taken during the years 2014-2020.

MetroBike Infrastructure

MetroBike has 76 kiosk stations with bicycle docks and an interactive screen throughout central Austin. Currently, its fleet  consists of around 702 bicycles, including both regular and electric bicycles. To rent a bike, a rider purchases a MetroBike pass.

Datasets

Two datasets were downloaded from data.austintexas.gov on October 24th and 27th, 2021, respectively:

  • Austin MetroBike Trips
  • Austin MetroBike Kiosk Locations

In the Austin MetroBike Trips dataset, each row is an individual trip taken. There were 1,424,786 trips between 2013 and 2021.

Data Cleaning

(a) For the trips dataset, trip duration was used as an inclusion criteria. Trip duration is the span of time elapsed between checking a bike out of a kiosk station and returning it to a kiosk station. Only trips with durations greater than zero minutes and less than 11,520 minutes (8 days) were included. The zero minute and greater than 8-day trips were deemed to be potentially erroneous. These criteria removed 21,770 trips from the dataset.

(b) For the trips dataset, the Checkout Kiosk Identification (ID) numbers were examined for missing data. Checkout Kiosk IDs were missing for 22,773 trips. To address this, these trips were linked to their kiosk ID number using their associated kiosk name. This procedure added a Checkout Kiosk ID number for 20,996 trips. 

The remaining 1,777 trips with missing Checkout Kiosk ID numbers were mobile stations used for special events. These mobile kiosks do not have ID numbers.  

Lastly, several Checkout Kiosk ID numbers were modified to ensure agreement with the ID number listed in the MetroBike Kiosk location dataset. 

(c) Two kiosk stations were added to the Kiosk location dataset. These kiosks stations were found in the Trips dataset but were missing from the Kiosk location dataset. These kiosks were “4th/Sabine” and “22.5/Rio Grande”.

Data Analysis

Annual Total Trips

The annual total trips demonstrated a large surge in 2018, followed by decreases in both 2019 and 2020 (Fig. 1). Considering these results, this project sought to understand what factors may have contributed to the increase in 2018 and the decreases in 2019 and 2020.

Fig 1. Annual Total Trips between 2014-2020.

More specifically, the project's analyses focused on factors related to MetroBike physical infrastructure and customer behavior. The metrics included: total number of bikes, total number of kiosk locations, most popular membership types, total trips by month, and the top four kiosk stations by rides for each year.

Results

The Infrastructure

The number of unique bike IDs rented was used as an indicator of the size of the MetroBike fleet. In 2018, the number of bikes increased by 609 bikes or 142% compared to 2017. The following years, 2019 and 2020, the bike fleets were smaller by 489 and 335 bikes respectively, compared to 2018 (Fig. 2).

Fig 2. Total Number of Bikes Used between 2014-2020.

The number of kiosk station IDs used to rent a bike was used as an indicator of the number of kiosk stations available. In 2018, the number of kiosk stations increased by 20 locations compared to 2017 (Fig. 3).

Fig 3. Total Number of Kiosk Locations Used between 2014-2020.

Moreover, in 2018, nine of the new kiosk stations were added on the University of Texas at Austin campus (informally known as UT Austin) and in the adjacent neighborhood of West University (Fig. 4). In Figure 4, the black circles are kiosk stations that remained the same between 2017 and 2018. New kiosk stations are indicated by a green circle and a “+” symbol. Removed kiosk stations are indicated by a red circle and a “-” symbol.

Fig 4. Kiosk Station Location Changes in 2018 (compared to 2017).

However, since 2019, the number of kiosk stations has remained constant at 76 locations (Fig. 3).

Customer Behavior

Between 2017 to 2020, the most popular membership type used to purchase a MetroBike pass was the UT Student Membership, followed by the Walk Up, Local365, Local30, and Weekender memberships (Fig. 5).

Fig 5. Top Five Membership Types for 2017-2020.

Examining these membership types by year revealed that the UT Student Membership dominated in 2018 but declined in 2019 and 2020 (Fig. 6).

Fig 6. Annual Total Trips for the Top Five Membership Types.

Considering the fluctuations in annual total rides, monthly ridership was examined for the years 2018 and 2019 (Fig. 7). For both years, the most popular months for trips were March, April, and May. For 2018, the months with the fewest rides were November, December, and January. In 2019, the months with the fewest rides were November, December, and August (Fig. 7).

Fig 7. Monthly Total Trips for 2018 and 2019. 

Top Kiosk Locations

The most popular kiosk stations between 2017 and 2020 are listed in Table 1.

Table 1. Top four kiosk station locations in 2017 through 2020.

For Figures 8-11, the kiosk locations are overlaid on a neighborhood map of Austin. At each kiosk station, an individual black bubble is displayed. The relative size of each bubble represents the number of trips at that particular kiosk checkout station for the given year. Additionally, the bubbles with a green circle at their center are the most popular kiosk stations for that particular year.

In 2017, the top four kiosk stations were located on the south-side of Downtown and near a popular trail loop that runs along the Colorado River (Fig. 8). These particular locations are near entertainment or parks and recreation areas.

Fig 8. Annual Trips by Kiosk Station in 2017.

In 2018, the top four kiosk stations were located on the UT Austin campus or in the West University neighborhood (Fig. 9), the latter is an area near the university that is commonly known for student housing and amenities.

Fig 9. Annual Trips by Kiosk Station in 2018.

In 2019, the top three kiosk stations were again located on the UT Austin campus or in the West University neighborhood. However, the fourth location was in the Zilker neighborhood, near the trail loop, primarily an entertainment or parks and recreation location (Fig. 10).

Fig 10. Annual Trips by Kiosk Station in 2019.

In 2020, the top four kiosk locations were south of Downtown and near the trail loop (Fig. 11). This indicates a shift from campus life to entertainment or parks and recreation areas.

Fig 11. Annual Trips by Kiosk Station in 2020.

Discussion

In 2018, Bike Share of Austin added nine kiosk stations on or near the UT Austin campus (Fig. 4) [3]. This infrastructure expansion was part of a pilot program to provide more mobility options to students. The program also created the UT Student Membership type which offered a free annual membership. This program was hugely successful with 63% of the total rides in 2018 attributed to UT Student Membership. Moreover, that same year, the top four most popular kiosk stations were on the UT Austin campus or in the adjacent West University neighborhood (Fig. 9).

The pilot program ended in 2019, and the UT Student membership was offered to students for $12 per year [4]. Although the drop in ridership cannot be directly attributed to the program’s discontinuation, annual total trips and UT Student membership trips decreased by 71% and 84% respectively. The approximate size of the bike fleet also decreased by 47% (Fig. 2). To be fair, the latter could have been the result of decreased bike demand. That all said, in 2019, three of the top four kiosk stations were, nevertheless, in or near the UT Austin campus area (Fig. 10). 

In 2020, annual MetroBike ridership continued to be low (Fig 1). In contrast to 2018 and 2019, the most popular kiosk stations were no longer on or near the UT Austin campus but instead were south of Downtown (Fig. 11). This shift is logical because UT Austin’s courses went virtual in mid-March 2020 as a result of the Covid-19 pandemic. Virtual course work continued in the summer semester and was prevalent in the fall semester as well. It also makes sense that the most popular kiosk locations were in entertainment or parks and recreation areas as more activities moved outdoors during the pandemic (Fig. 11).

Recommendations to Increase Ridership

  1. Perform an inquiry into the downturn in UT student memberships since 2019 (Fig. 6). Example questions: How many UT students and staff have applied for the $12 per year membership? What percentage of the applications have been approved? How is the membership advertised?
  2. Introduce seasonal promotions to increase ridership during off-months (Fig. 7). The months November, December, and January are great candidates. During these months, there can be periods of mild weather in Austin when biking could be potentially comfortable.
  3. Introduce kiosk stations in areas that are densely populated by university students or near campuses. Even in 2019, which had an 84% drop (Fig. 6) in student membership ridership compared to 2018, three of the most popular kiosk stations were around a university campus (Fig. 10). For UT Austin, example neighborhoods would be Hyde Park and Hancock which are north of campus.

Future Work

Future work will focus on smaller subsets of the data to examine ridership during weekdays versus weekends, lunch hours versus commuting hours, and examine not only most popular kiosk locations but travel directions.

Connect with Author

Project GitHub, LinkedIn, and Twitter.

References

[1] The City of Austin. (2019, April 11). Austin Strategic Mobility Plan Executive Summary and Introduction. The City of Austin. Link

[2] Thornton, R. (2020, September 25). Austin B-cycle rebranded as MetroBike. Austin Monitor. Link                

[3] Pritchard, C. (2018, February 16). B-cycle goes to school. Austin Monitor. Link

[4] Barton, J. (2019, January 23). Austin B-Cycle ends free student membership after University refuses funding operating costs. The Daily Texan. Link

About Author

Mandy McClintock

I'm an NYC Data Science Academy Alumni with a passion for working with data and people!
View all posts by Mandy McClintock >

Related Articles

Leave a Comment

No comments found.

View Posts by Categories


Our Recent Popular Posts


View Posts by Tags

#python #trainwithnycdsa 2019 2020 Revenue 3-points agriculture air quality airbnb airline alcohol Alex Baransky algorithm alumni Alumni Interview Alumni Reviews Alumni Spotlight alumni story Alumnus ames dataset ames housing dataset apartment rent API Application artist aws bank loans beautiful soup Best Bootcamp Best Data Science 2019 Best Data Science Bootcamp Best Data Science Bootcamp 2020 Best Ranked Big Data Book Launch Book-Signing bootcamp Bootcamp Alumni Bootcamp Prep boston safety Bundles cake recipe California Cancer Research capstone car price Career Career Day citibike classic cars classpass clustering Coding Course Demo Course Report covid 19 credit credit card crime frequency crops D3.js data data analysis Data Analyst data analytics data for tripadvisor reviews data science Data Science Academy Data Science Bootcamp Data science jobs Data Science Reviews Data Scientist Data Scientist Jobs data visualization database Deep Learning Demo Day Discount disney dplyr drug data e-commerce economy employee employee burnout employer networking environment feature engineering Finance Financial Data Science fitness studio Flask flight delay gbm Get Hired ggplot2 googleVis H20 Hadoop hallmark holiday movie happiness healthcare frauds higgs boson Hiring hiring partner events Hiring Partners hotels housing housing data housing predictions housing price hy-vee Income Industry Experts Injuries Instructor Blog Instructor Interview insurance italki Job Job Placement Jobs Jon Krohn JP Morgan Chase Kaggle Kickstarter las vegas airport lasso regression Lead Data Scienctist Lead Data Scientist leaflet league linear regression Logistic Regression machine learning Maps market matplotlib Medical Research Meet the team meetup methal health miami beach movie music Napoli NBA netflix Networking neural network Neural networks New Courses NHL nlp NYC NYC Data Science nyc data science academy NYC Open Data nyc property NYCDSA NYCDSA Alumni Online Online Bootcamp Online Training Open Data painter pandas Part-time performance phoenix pollutants Portfolio Development precision measurement prediction Prework Programming public safety PwC python Python Data Analysis python machine learning python scrapy python web scraping python webscraping Python Workshop R R Data Analysis R language R Programming R Shiny r studio R Visualization R Workshop R-bloggers random forest Ranking recommendation recommendation system regression Remote remote data science bootcamp Scrapy scrapy visualization seaborn seafood type Selenium sentiment analysis sentiment classification Shiny Shiny Dashboard Spark Special Special Summer Sports statistics streaming Student Interview Student Showcase SVM Switchup Tableau teachers team team performance TensorFlow Testimonial tf-idf Top Data Science Bootcamp Top manufacturing companies Transfers tweets twitter videos visualization wallstreet wallstreetbets web scraping Weekend Course What to expect whiskey whiskeyadvocate wildfire word cloud word2vec XGBoost yelp youtube trending ZORI