Datasets
The teaching datasets used throughout the book. They are synthetic, so you can practice freely without touching real patient information.
Use the file named in your chapter or assignment. Keep the original file unchanged so you can return to it. Where both clean and analytic versions exist, use the version the activity specifies.
Download everything
Download all datasets
Reference dimensions
Descriptive tables: who and where. One row per actor, no events.
Teaching datasets (clean)
Event tables: what happened and when. Validated and analysis-ready.
Appointments
One row per scheduled visit (ambulatory scheduling).
DS2_appointments_clean.csv
Data dictionary
Appointments (teaching sample)
A 12-row sample of the appointments file for the Chapter 1 and 3 Try It exercises.
DS2_appointments_sample.csv
Data dictionary
Claim headers
One row per submitted claim (revenue cycle).
DS5_claim_header_clean.csv
Data dictionary
Claim lines (optional)
One row per claim line; optional supplement.
DS5_claim_line_optional.csv
Data dictionary
Evidence and public health
Study-design vignettes and external public-health reference data.
PLACES county (wide)
CDC PLACES-style county estimates, wide form.
PH1_places_county_wide.csv
Data dictionary
PLACES county (long)
CDC PLACES-style county estimates, long form.
PH1_places_county_long.csv
Data dictionary