End-to-end data analytics case study using SQL (PostgreSQL), R, Excel (Power Query), and Tableau.
Time Period Analyzed: October 2024 – September 2025
This project analyzes Cyclistic’s bike-share usage patterns to understand how casual riders and annual members differ in their riding behavior. Insights were used to create data-backed marketing recommendations aimed at increasing annual memberships.
The workflow follows the Google Data Analytics framework:
Ask → Prepare → Process → Analyze → Share → Act
Cyclistic-Bike-Share-Analysis/
│
├── r_analysis/
│ ├── cyclistic_analysis.R
│ ├── cyclistic_markdown.Rmd
│ └── cyclistic_markdown.html
│
├── sql_scripts/
│ ├── 01_data_prep.sql
│ ├── 02_data_validation.sql
│ ├── 03_transform_and_clean.sql
│ └── 04_analysis_and_insights.sql
│
├── tableau_dashboard/
│ ├── Cyclistic_Dashboard.mp4 # Dashboard walkthrough video
│ └── screenshots/ # Dashboard visuals
│
├── Cyclistic Bike-Share Analysis.pdf # Full presentation (uploaded directly)
│
└── README.md
Identify behavioral differences between casual and member riders to help Cyclistic’s marketing team convert casual riders into annual subscribers.
- How do annual members and casual riders use Cyclistic bikes differently?
- What motivates casual riders, and how can Cyclistic encourage them to subscribe?
- How can digital strategies influence conversion behavior?
Cyclistic trip data from Oct 2024 to Sept 2025, publicly provided by Motivate International Inc. under a usage license.
Each monthly dataset includes:
- Trip timestamps
- Bike type used
- Start & end stations + coordinates
- Rider type (member/casual)
12 massive CSVs, each representing one month of trips.
Important columns include:
ride_id, rideable_type, started_at, ended_at,
start_station_name, end_station_name,
start_lat, start_lng, end_lat, end_lng,
member_casual
- PostgreSQL → Data ingestion, cleaning, transformations, EDA
- R → Validation, visualization, analysis document
- Excel (Power Query) → Additional transformations
- Note: The original dataset is extremely large (~5.6M+ rows).
Excel was only used via Power Query to avoid row-limit issues and crashes.
- Note: The original dataset is extremely large (~5.6M+ rows).
- Tableau → Visualization & dashboard
- PowerPoint → Final storytelling & presentation
- Removed missing/invalid station IDs, coordinates, and blank entries
- Excluded rides with negative duration or duartions < 1 minute and durations > 24 hours
- Created fields:
ride_length,day_of_week,month - Validated primary key uniqueness (ride_id)
- Ensured timestamp consistency
- Checked for duplicates (none found)
- Casual riders take longer rides but ride less frequently
- Members ride short, consistent, commute-based trips
- Weekend spikes indicate leisure-driven casual riders
- Weekday AM/PM spikes indicate member commuters
- Casual riders show higher average ride durations on both classic and electric bikes
- Members use both bike types for shorter, faster trips, consistent with commuting behavior
- Casual use peaks in summer weekends
- Member activity aligns with work routines
All SQL queries and analysis scripts are provided in the sql_scripts and r_analysis folders.
This phase includes Tableau dashboard, PowerPoint presentation, and supporting visuals.
A full screen-recorded walkthrough is available:
/tableau_dashboard/Cyclistic_Dashboard.mp4
Screenshots of all charts are included inside /tableau_dashboard/screenshots/.
A polished storytelling deck summarizing insights, visuals, SQL/R workflow, and recommendations:
📄 Cyclistic Bike-Share Analysis.pptx
Uploaded directly into the project root for easy access.
Based on insights:
-
Launch seasonal membership campaigns
Targeted at heavy summer/weekend leisure riders. -
Promote commuter benefits
Highlight cost savings & convenience for weekday travel. -
Push digital engagement
App-based nudges, referral bonuses, personalized discounts. -
Offer weekend-focused value packs
Designed for long-duration casual riders.
Due to the dataset’s large size (~400MB), Excel files are stored externally via Google Drive.
Languages: SQL, R
Tools: Excel (Power Query), PostgreSQL, RStudio, Tableau, PowerPoint
Skills Demonstrated:
- Data wrangling & cleaning
- Working with large datasets
- SQL transformations & joins
- R-driven validation
- Dashboard design & storytelling
- Business-focused analytics
This repository documents a complete, end-to-end analytics pipeline:
- Large dataset engineering
- Clean SQL workflows
- Visualization in Tableau
- Insights backed by R & Excel
- A full presentation deck
- Actionable recommendations fully aligned with business needs