Skip to content

Data sources

Every dataset behind the site and the app, with its license and citation.

Every chart on this site carries a label saying what it is: a live calculation on real data, a recorded run, or a simulation. This page says where the data came from.

Charts on this site

FigureDataLicenseLabel
Hero, AnalystPalmer penguins, raw flipper length and body measurementsCC0-1.0Live on real data
One resultToothGrowthR datasets package, published resultsRecorded result
Workflow: profile, check, compare, model, explain, forecastNew York air qualityR datasets package, public recordsRecorded result, and for the model comparison "Recorded runs, test settings, not tuned"
StatisticianSimulated interval-censored survival data, written for CodeSplash AnalyticsOur own simulationRecorded on simulated data
Data scientist, ML engineerPalmer penguinsCC0-1.0Recorded result
Parity striptests/parity/report.json, our own test reportOur own reportTest report
NISTNIST StRD certified values, tests/nist/report.jsonPublic domainTest report
Academy power explorableA simulation that runs in your browserOur own modelLive simulation

Bundled with the app

These four datasets come with the app for lessons and examples.

New York air quality, 1973

Daily air-quality readings in New York from May to September 1973: ozone, solar radiation, wind and temperature. Real missing values (ozone is missing on 37 days) make it a good first dataset for missing data, skewed measures and simple regression.

License
R-datasets. Shipped with R's datasets package as airquality; the readings come from the New York State Department of Conservation and the US National Weather Service (public records).
Citation
Chambers JM, Cleveland WS, Kleiner B, Tukey PA (1983). Graphical Methods for Data Analysis. Belmont, CA: Wadsworth.

Messy customer list

A simulated customer export with every common data problem: sentinel values like -99, mixed date formats, stray whitespace and case in categories, inconsistent yes/no codes, duplicates and missing values. Built to trip each of the Prepare page's suggested fixes.

License
Simulated. Generated for CodeSplash Analytics; no real people.
Citation
CodeSplash Analytics test data (tests/recipes/fixtures/messy_customers.csv).

Palmer penguins

Measurements of 344 penguins of three species (Adélie, Chinstrap, Gentoo) on three islands of the Palmer Archipelago, Antarctica, 2007–2009. The Academy's recurring dataset: groups to compare, measurements that correlate, missing values to handle and species to classify.

License
CC0-1.0
Citation
Horst AM, Hill AP, Gorman KB (2020). palmerpenguins: Palmer Archipelago (Antarctica) penguin data. Data collected by Dr. Kristen Gorman and the Palmer Station LTER. Source

Tooth growth in guinea pigs

The length of odontoblasts (tooth-growing cells) in 60 guinea pigs, each given vitamin C at one of three doses (0.5, 1 or 2 mg/day) by one of two delivery methods: orange juice (OJ) or ascorbic acid (VC). A small, clean experiment for comparing groups.

License
R-datasets. Shipped with R's datasets package as ToothGrowth; the measurements are published experimental results (Crampton 1947), and facts carry no copyright.
Citation
Crampton EW (1947). The growth of the odontoblast of the incisor teeth as a criterion of vitamin C intake of the guinea pig. The Journal of Nutrition 33(5): 491–504.

Worked examples

The Academy and the worked examples use small published datasets. Each is credited to its source below. The rest of the worked-example data is simulated or was written for CodeSplash Analytics. The app's Settings, under About, has the same list in its third-party notices.

All 117 datasets
DatasetCredit
a_depressionHollander & Wolfe (1973) depression scores, first and second visit (stats::wilcox.test example)
airqualitydatasets::airquality (has missing values)
amlsurvival::aml (Miller 1997)
approvalAgresti, A. (2013). Categorical Data Analysis (3rd ed.), Table 11.1
attitudedatasets::attitude (Chatterjee & Price 1977)
biopsyMASS::biopsy (Wolberg & Mangasarian 1990)
birthwtMASS::birthwt (Hosmer & Lemeshow 1989); race recoded to labels, 0/1 columns as booleans
c1_mpdtadid::mpdta — county teen employment 2003–2007, minimum-wage increases (Callaway & Sant'Anna 2021)
c1_senaterdrobust::rdrobust_RDsenate (Cattaneo, Frandsen & Titiunik 2015)
c2_lalondeMatchIt::lalonde (LaLonde 1986; Dehejia & Wahba 1999)
c3_store_brandConover (1999) store x brand sales (stats::quade.test example), long format
cb_anscombedatasets::anscombe (Anscombe, F. J. (1973). Graphs in statistical analysis. The American Statistician, 27, 17-21)
cb_challengervcd::SpaceShuttle (Dalal, S. R., Fowlkes, E. B., & Hoadley, B. (1989). Risk analysis of the Space Shuttle: pre-Challenger prediction of failure. JASA, 84, 945-957, Table 1; Presidential Commission report, 1986)
cb_datasaurusdatasauRus::datasaurus_dozen_wide (MIT; Matejka, J., & Fitzmaurice, G. (2017). Same stats, different graphs. CHI 2017; dinosaur by Alberto Cairo)
cb_galtonHistData::Galton (Galton, F. (1886). Regression towards mediocrity in hereditary stature. Journal of the Anthropological Institute, 15, 246-263)
cb_kidney_stonesCharig, C. R., Webb, D. R., Payne, S. R., & Wickham, J. E. A. (1986). Comparison of treatment of renal calculi by open surgery, percutaneous nephrolithotomy, and extracorporeal shockwave lithotripsy. BMJ, 292, 879-882, Table I (one row per patient)
chickwtsdatasets::chickwts (six groups)
co2_longdatasets::CO2 (Potvin, Lechowicz & Tardif 1990)
f7_daxdatasets::EuStockMarkets, DAX, last 750 trading days
f7_seatbeltsdatasets::Seatbelts (Harvey & Durbin 1986); petrol price × 100
f7_seatbelts_futuredatasets::Seatbelts plus twelve future rows with known regressors
h_faithfuldatasets::faithful
hair_eyedatasets::HairEyeColor expanded to one row per student
housingMASS::housing (Madsen 1976), one row per resident (Freq expanded)
insuranceMASS::Insurance (Baxter, Coutts & Ross 1980)
irisdatasets::iris
lb1_crinsbayesmeta::CrinsEtAl2014 (Crins et al. 2014, Pediatric Transplantation 18, 839–850)
life_airconProschan (1963) air-conditioning failure intervals, as boot::aircondit and boot::aircondit7.
life_bearingsLieblein & Zelen (1956), ball-bearing fatigue life (millions of revolutions).
liver_scanAltman, D. G., & Bland, J. M. (1994). Diagnostic tests 1: sensitivity and specificity. BMJ, 308, 1552.
lungsurvival::lung (Loprinzi et al. 1994)
m1_assinkmetadat::dat.assink2016 (Assink & Wibbelink 2016)
m1_bcgmetadat::dat.bcg (Colditz et al. 1994)
m1_hackshawmetadat::dat.hackshaw1998 (Hackshaw et al. 1997)
m1_molloymetadat::dat.molloy2014 (Molloy et al. 2014)
m1_multilevelmetadat::dat.konstantopoulos2011 (Konstantopoulos 2011)
m1_normandmetadat::dat.normand1999 (Normand 1999)
m1_raudenbushmetadat::dat.raudenbush1985 (Raudenbush 1984)
malformationGraubard, B. I., & Korn, E. L. (1987). Biometrics, 43, 471–476; Agresti (2013) Table 3.7
mendel_peasMendel, G. (1866). Versuche über Pflanzen-Hybriden.
mgus2_crsurvival::mgus2 (Kyle et al. 2002), competing-risks coding as in the survival vignette
ml_airpassengersdatasets::AirPassengers (Box & Jenkins 1976)
ml_airqualitydatasets::airquality (New York, May–September 1973)
ml_chickweightdatasets::ChickWeight (Crowder & Hand 1990)
ml_deathsdatasets::mdeaths, datasets::fdeaths (Diggle 1990)
ml_digitsUCI Optical Recognition of Handwritten Digits, test set (Alpaydin & Kaynak 1998; CC BY 4.0) via sklearn.datasets.load_digits: first 100 images per digit
ml_irisdatasets::iris (Anderson 1935; Fisher 1936)
ml_niledatasets::Nile (Durbin & Koopman 2001)
ml_penguinsdatasets::penguins (R 4.5; Horst, Hill & Gorman 2020)
ml_pimaMASS::Pima.tr + MASS::Pima.te (Smith et al. 1988)
ml_pima_rareMASS::Pima.tr + MASS::Pima.te, all negatives and the first 40 positives (Smith et al. 1988)
ml_titanicdatasets::Titanic expanded to one row per passenger (Dawson 1995)
ml_titanic_txdatasets::Titanic as one transaction per passenger
ml_ukgasdatasets::UKgas (Durbin & Koopman 2001)
ml_usarrestsdatasets::USArrests (McNeil 1977)
mtcarsdatasets::mtcars (plus a column name with spaces and a boolean)
mv_baumanncarData::Baumann (Baumann & Jones; Fox & Weisberg 2019)
mv_duneDutch dune meadows: cover of 30 plant species at 20 sites with management (Jongman, ter Braak & van Tongeren 1987; vegan::dune)
mv_miteOribatid mites in 70 moss cores with coordinates (m) and environment (Borcard & Legendre 1994; vegan::mite, mite.xy, mite.env)
mv_obrienkaisercarData::OBrienKaiser (O'Brien & Kaiser 1985)
mv_potterycarData::Pottery (Tubb, Parker & Nickless 1980)
mv_vareLichen pastures in Finland: cover of 44 species and 14 soil variables at 24 sites (Väre, Ohtonen & Oksanen 1995; vegan::varespec, varechem)
panel_emplukArellano & Bond (1991); R package plm (dataset EmplUK). Unbalanced.
panel_grunfeldGrunfeld (1958); R package plm (dataset Grunfeld).
panel_producMunnell (1990); R package plm (dataset Produc).
pefrBland, J. M., & Altman, D. G. (1986). The Lancet, 327, 307–310 (first readings)
pimaMASS::Pima.tr and MASS::Pima.te (Smith et al. 1988)
plantgrowthdatasets::PlantGrowth
q1_circuitqcc::circuit (Montgomery 2013, Table 7.7); Units added for a u chart
q1_filtrationMontgomery (2017), Design and Analysis of Experiments, Example 6.2
q1_niledatasets::Nile (Durbin & Koopman 2001)
q1_orangejuiceqcc::orangejuice (Montgomery 2013, Table 7.1)
q1_pistonringsqcc::pistonrings (Montgomery 2013, Introduction to Statistical Quality Control, Table 6.3)
quineMASS::quine (Quine 1975)
rounding_timesHollander & Wolfe (1973) rounding-first-base times (stats::friedman.test example), long format
s1_cbpplme4::cbpp (Lesnoff et al. 2004)
s1_dietoxgeepack::dietox (Lauridsen et al. 1999), sorted by pig and week; 2 weights set missing
s1_mcycleMASS::mcycle (Silverman 1985)
s1_ohiogeepack::ohio (Fitzmaurice & Laird 1993), sorted by child and age
s1_pasteslme4::Pastes (Davies & Goldsmith 1972): casks nested within batches
s1_penicillinlme4::Penicillin (Davies & Goldsmith 1972): plates crossed with samples
s1_sleeplme4::sleepstudy (Belenky et al. 2003); sleep group = alternate subjects; 3 reaction times set missing
s1_surveyMASS::survey (Venables & Ripley 2002), renamed columns
s1_tickslme4::grouseticks (Elston et al. 2001); HEIGHT standardized
s2_bladdersurvival::bladder2 (Byar 1980; Wei, Lin & Weissfeld 1989)
s2_cgdsurvival::cgd (Fleming & Harrington 1991)
s2_heartsurvival::heart (Crowley & Hu 1977)
s3_hslavaan::HolzingerSwineford1939 (Holzinger & Swineford 1939)
s3_krippKrippendorff (2011), Computing Krippendorff's alpha-reliability (= irrCAC::cac.raw4raters)
s3_lsat7mirt::LSAT7 expanded (Bock & Lieberman 1970)
s3_poldemlavaan::PoliticalDemocracy (Bollen 1989)
s3_sciencemirt::Science (Karlheinz & Melich 1992)
s4_biopscl::bioChemists (Long 1990): articles in the last 3 years of the PhD, 915 students
s4_coffeeAgresti (2002) Table 10.3: coffee brand choice at two purchases (one empty off-diagonal cell)
s4_drugsAgresti (2002) Categorical Data Analysis, Table 12.1 (favourable response to three drugs)
s4_haireye_countsdatasets::HairEyeColor as one row per cell with its count (32 rows)
s4_jobfisher.test example: job satisfaction by income (Agresti 2002, Table 2.8), 96 workers
s4_nhanesmice::nhanes2 (Schafer 1997): 25 people, missing BMI, hypertension and cholesterol
s4_swissdatasets::swiss (1888 Swiss provinces), 47 rows
s4_visionStuart (1955) Biometrika 42: unaided distance vision, 7477 women
s5_riskMASS::Pima.tr + MASS::Pima.te (Smith et al. 1988); predictions of two logistic models fitted on them
shrout_fleissShrout, P. E., & Fleiss, J. L. (1979). Psychological Bulletin, 86, 420–428, Table 2
sleep_longdatasets::sleep (Student 1908), long format
sleep_widedatasets::sleep (Student 1908), reshaped wide by ID
sp_cellsCrick & Ripley's biological cells, spatstat.data::cells; a regular pattern on the unit square.
sp_columbusColumbus OH neighbourhoods 1980 (Anselin 1988), spData::columbus (CC0).
sp_japanesepinesNumata's Japanese black pines, spatstat.data::japanesepines; unit square.
sp_meuseMeuse river topsoil zinc (Rikken & Van Rijn 1993), sp::meuse; planar metres.
sp_nc_sidsNorth Carolina SIDS 1979 by county (Cressie 1993), from the sf package's nc.shp.
sp_redwoodStrauss's redwood seedlings, spatstat.data::redwood; a clustered pattern on [0, 1] × [−1, 0].
surveyMASS::survey (Venables & Ripley 2002), selected columns; exercise and smoking in natural order
toothgrowthdatasets::ToothGrowth
ts_co2datasets::co2 (Mauna Loa, Keeling)
ts_lakehurondatasets::LakeHuron (Brockwell & Davis 1991)
ucb_admissionsdatasets::UCBAdmissions expanded to one row per applicant
veteransurvival::veteran (Kalbfleisch & Prentice 1980)
warpbreaksdatasets::warpbreaks (ties; ordered tension L < M < H)