The psyteachr package provides datasets and functions for the psyTeachR books.
You can install psyteachr from GitHub with:
install.packages("psyteachr/psyteachr")You can access a list of available data.
data(package = "psyteachr")You can download a dataset.
psyteachr::getdata("my_r_stuff/dataskills/data", "dataskills")Each dataset has more info in its help entry, which you can access by typing ?psyteachr:: and the name of the dataset.