R/07_SPM_utils.R

Defines functions load_csv_spm

load_csv_spm <- function() {
  spm <- list.files(path = dirs$spm,
                    pattern = "*.csv",
                    full.names = T) |>
    purrr::map_df(~readr::read_csv(., col_types = readr::cols(.default = "c")))
}
COHHIO/Rm_data documentation built on Dec. 9, 2024, 2:10 p.m.