The Work Gym / Free resources / Free practice datasets
Customer churn dataset
Subscribers of Pennant, a fictional fitness app: when each signed up, on which plan and channel, whether and when they cancelled, and how many workouts they did each week. A second pair of tables holds an A/B test of an annual-plan offer. Built for churn analysis and churn models.
Download
- customer-churn.xlsxExcel workbook, one sheet per table (4) · 72 KB
- customer-churn.sqlSQL script for PostgreSQL, MySQL, SQLite and DuckDB · 163 KB
CSV files, one per table
- subscribers.csv260 rows · 12 KB
- workouts.csv1,416 rows · 28 KB
- assignments.csv1,961 rows · 67 KB
- upgrades.csv187 rows · 5 KB
The data is fictional and free to use for practice, teaching and portfolio work. A link back is appreciated.
What to practice
Pennant is a fictional fitness app with subscribers across the UK. The data runs from April to October 2026. Every name and number is invented.
- Find the share of subscribers who cancel within 90 days of signing up, by plan and by channel.
- Join
workoutsto see whether people who train less in their first weeks cancel more. - Compare upgrade rates between
controlandannual_offerinassignmentsandupgrades, and check whether the difference is bigger than chance.
Practice with checked exercises
- Who cancels in the first 90 days?
Pennant loses too many subscribers in their first three months. Build a churn table without peeking at the future, find who leaves, fit a first model and plan what the retention team should try.
- Is the annual offer result real?
A checkout test offered half the visitors an annual plan. The dashboard says it worked; count the test fairly and decide whether the difference is real before it ships.
Data dictionary
Table and column names are exactly as they appear in the files.
subscribers260 rows
One row per subscriber.
- subscriber_idINTEGER
- Subscriber number
- signup_dateDATE
- Sign-up date
- planVARCHAR
- annual or monthly
- channelVARCHAR
- How they found the app
- regionVARCHAR
- UK region
- cancelled_onDATE
- Cancellation date (empty if still subscribed)
First rows
| subscriber_id | signup_date | plan | channel | region | cancelled_on |
|---|---|---|---|---|---|
| 10001 | 2026-09-29 | annual | Referral | Scotland | |
| 10002 | 2026-05-01 | monthly | App store | North West | |
| 10003 | 2026-07-29 | monthly | Paid social | Midlands | |
| 10004 | 2026-09-04 | monthly | Paid social | Scotland | |
| 10005 | 2026-05-02 | monthly | Paid social | North West |
workouts1,416 rows
Workouts per subscriber per week.
- subscriber_idINTEGER
- Subscriber
- week_startDATE
- Week
- workoutsINTEGER
- Workouts completed that week
First rows
| subscriber_id | week_start | workouts |
|---|---|---|
| 10001 | 2026-09-29 | 1 |
| 10001 | 2026-10-06 | 1 |
| 10001 | 2026-10-20 | 1 |
| 10002 | 2026-05-22 | 1 |
| 10002 | 2026-05-29 | 2 |
assignments1,961 rows
Visitors in the annual-offer A/B test.
- visitor_idVARCHAR
- Visitor
- test_groupVARCHAR
- control or annual_offer
- assigned_onDATE
- Date assigned
- platformVARCHAR
- iOS or Android
First rows
| visitor_id | test_group | assigned_on | platform |
|---|---|---|---|
| V30001 | control | 2026-09-15 | iOS |
| V30002 | control | 2026-09-21 | Android |
| V30003 | control | 2026-09-21 | iOS |
| V30004 | control | 2026-09-20 | iOS |
| V30005 | control | 2026-09-21 | iOS |
upgrades187 rows
Visitors who upgraded to the annual plan.
- visitor_idVARCHAR
- Visitor
- upgraded_onDATE
- Upgrade date
- planVARCHAR
- Plan chosen
First rows
| visitor_id | upgraded_on | plan |
|---|---|---|
| V30012 | 2026-09-20 | annual |
| V30021 | 2026-09-24 | annual |
| V30025 | 2026-09-22 | annual |
| V30048 | 2026-09-28 | annual |
| V30052 | 2026-10-04 | annual |
Questions
Can I use it to train a churn model?
Yes. subscribers gives the label (a cancellation date or none) and workouts gives behavior per week. Remember that recent sign-ups have had less time to cancel.
More datasets
Retail sales dataset
Weekly sales by store and category, promotions and stock checks for a grocery chain.
Healthcare dataset
Patients, encounters, diagnoses, labs, medications, appointments and claims.
SQL sample database: Kestrel online store
Products, customers, orders, employees, suppliers, tickets and web events in 17 tables.
Shipping and logistics dataset
Freight shipments with promised and delivered dates, and their status events.
Employee and HR dataset
Employees, exits, salaries, recruiting, headcount and an engagement survey.