Files corresponding to Short Course: Introduction to Data Science Using R
dcData
and tidyverse
packages. Use thedcData
is installed from GitHub, so it requires an extra
step. - devtools::install_github("mdbeckman/dcData")
dcData
package, read the
BabyNames
data from dcData
into your R environment using the
data()
function as follows:data(BabyNames)
BabyNames
object in the Environment pane
The file “BabyNameSupp.csv” includes a few years of more recent data to
augment the BabyNames
data. The file can be downloaded straight to R
from the link here:
Read this file in using read_csv()
from the readr
package. Save the
data as an object called BabyNamesSupp
.
Note: Reading the data will produce a warning message! Read the warning message carefully; what seems to have gone wrong?
BabyNamesSupp