Datasets

Datasets to download

affairs

Real data on 601 participants’ extramarital activities.

cereal

Real data on 77 cereal products from the early 1990s. [Source]

diary

Real data from 112 participants in a “daily diary” study on stress and affect. [Source]

ds_salaries

Real data about 607 data scientist’s jobs and salaries during 2020-2022. [Source]

elicitation

Real data about 139 participants’ emotions during four emotion elicitation tasks. [Source]

exercise

Simulated data about 900 participants’ weight loss under different exercise programs.

gradebook

Simulated data on the scores of 10 students on 5 tests.

interpersonal

Real data about the interpersonal problems of 34 psychotherapy clients. [Source]

political

Real data about the political activities of 59 college students.

salaries

Real data about 397 professors during 2008 to 2009. [Source]

yearspubs

Datasets in Packages

economics

Real economic time series data about the US from 1967 to 2015. [Source]

Included in the {ggplot2} package and loaded by {tidyverse}.

flights

Real data about all 336,766 flights in and out of New York City in 2013. [Source]

Included in the {nycflights13} package.

mpg

Real data about 234 car models from 1999 and 2008. [Source]

Included in the {ggplot2} package and loaded by {tidyverse}.

penguins

Real data about 344 penguins observed in Palmer Archipelago. [Source]

Included in the {palmerpenguins} package.

starwars

Real data about 87 characters in the Star Wars franchise. [Source]

Included in the {dplyr} package and loaded by {tidyverse}.

txhousing

Real data about the Texas housing market from 2000 to 2015. [Source]

Included in the {ggplot2} package and loaded by {tidyverse}.