data-raw/hfi/hfi-dataprep.R

# load packages ----------------------------------------------------------------
library(tidyverse)
library(usethis)

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

hfi <- read_csv(here::here("data-raw/hfi", "hfi_cc_2018.csv"))

# Save -------------------------------------------------------------------------

use_data(hfi, overwrite = TRUE)
OpenIntroStat/openintro-r-package documentation built on Aug. 12, 2019, 5:19 a.m.