show/hide
<- c("palmerpenguins",
data_pkgs "fivethirtyeight",
"ggplot2movies",
"babynames")
install.packages(data_pkgs)
The data packages used are available to preview below.
<- c("palmerpenguins",
data_pkgs "fivethirtyeight",
"ggplot2movies",
"babynames")
install.packages(data_pkgs)
palmerpenguins::penguins
The majority of the graphs in the manual are built using the palmerpenguins::penguins
data.
…so…many…PENGUINS!
fivethirtyeight
Use the table below to view the datasets in this package.
ggplot2movies::movies
Source: https://www.imdb.com/
babynames::babynames
Source: http://www.ssa.gov/oact/babynames/limits.html
Why not manually create the graph datasets with data.frame()
or tibble()
/tribble()
?
In my opinion, using manually generated data is great for reproducible examples, but they rarely look like data ‘caught in the wild.’ The data packages above are also well maintained and can be used to provide a variety of examples.