data-raw/iowa/iowa-dataprep.R

library(readr)
library(dplyr)

# load data --------------------------------------------------------------------

raw_data <- read_csv(here::here("data-raw/iowa/iowa.csv"))

# cleaning: none required ------------------------------------------------------

iowa <- raw_data

# save data --------------------------------------------------------------------

usethis::use_data(iowa, overwrite = TRUE)
OpenIntroStat/openintro documentation built on June 4, 2024, 4:19 a.m.