Friday, June 24, 2022

Google Data Analytics capstone project

I decided to use blog as the venue to publish my Google Data Analytics learning because I wasn't sure how I can upload the findings, the code, the visualization and the slides all to the same site / location.

The project I chose was the Chicago bike share data and the question to answer was "How do annual members and casual riders use Cyclistic bikes differently."

My findings from the analysis -

1. Annual members use the bikes more than casual riders in terms of total rides, but casual riders ride longer in terms of total ride time and average ride time.

2. Annual members use the bikes less, in terms of number of rides, than casual riders during weekends and summer season, but more during weekday and other seasons.




3. Annual members average trip time does not vary much from day of the week (2.6 minutes) to month of the year (3.7 minutes).  



4. Both annual members and casual riders use more classic bikes in terms of total rides and total ride time.


Conclusion based on available information -
  • Casual riders average ride time is about twice as long as annual members for the classic bike category (28.9 minutes vs. 13.9 minutes), and about 50% longer on average ride for electric bike (19.2 minutes vs. 12.2 minutes).
  • Need additional analysis on casual riders if we are able to obtain customers' ZIP code to further divide customer base into local versus visitor for better identification.  If casual riders are mostly from outside of Cyclistic bike's service area, it may not be effective to run ad campaign to try to convert them to annual members.
Assumption made based on the project document, background and provided data - 
  • Annual members are more profitable than casual riders.
  • There should not be any negative trip duration.
Additional information I would like to have for further analysis -
  • Request clarification on "docked_bike" category within the rideable_type variable.  My guess is that "docked_bike" is the casual rider's Day Pass purchase.
  • Request enough identifiable information to determine if casual riders live in the service area or if they purchased multiple single passes, without violating personal privacy concern.
  • Request enough annual member's identifiable information to determine personal daily usage pattern without violating personal privacy concern.
Lessons learned from doing this exercise -
  • Document the process.  Comment codes while exploring the data so I remember what I'm trying to accomplish at each step.
  • For someone like me who is used to Excel, it took more steps to manipulate data and visualization using R.  However, R gives user more control to do exactly what one wants to do with the visualization.
  • Be careful on stupid mistakes like typo's and referring to the wrong data frame.  These are silly mistakes.  😞
  • Practice, practice, practice!
Possible additional work in the future - 
  • The summary calculation done through R and Power BI came out different.  This will require further analysis.
  • Create the visualization using Tableau Public and share the visuals.
    • Updated 6/30/22 - Unfortunately the dataset might be to big for Tableau Public to process on a consistent basis.  The program kept giving me error messages but I was able to create one visual - Tableau Public link 
  • Conduct the exercise with Python.
  • Include distance analysis with available start and end station longitude and latitude information and see if there is any difference in terms of learning (vs. average time)
Tools I used -
Data wrangling - RStudio Desktop
Visualization - Microsoft Power BI Desktop

Data from Divvy - https://divvy-tripdata.s3.amazonaws.com/index.html
Data license agreement - https://ride.divvybikes.com/data-license-agreement
Data range - 2021 June through 2022 May (12 months)

No comments:

Post a Comment

Google Data Analytics capstone project

Google Data Analytics capstone project

I decided to use blog as the venue to publish my Google Data Analytics learning because I wasn't sure how I can upload the findings, the...