R/importData.R

Defines functions get.ds

# no function? or just wrapper around import_spss? how to deal with multiple data files?

get.ds <- function(ds.files , fbshort){
  ds <- lapply(ds.files, function(ds_single) {
    out <- eatGADS::import_spss(ds_single)
    out$dat
  })
  names(ds) <- fbshort
  ds
}
beckerbenj/eatCodebook documentation built on Feb. 24, 2025, 9:36 a.m.