Skip to contents

This is useful if you work with lots of separate SAS datasets spread out in the same folder.

Usage

codegen_load_all_sas_data(dir, format = NULL)

Arguments

dir

path to dataset folder

format

path to format file

Value

NULL. Relevant code is printed to the console.

Examples

codegen_load_all_sas_data(system.file("examples", package = "DescrTab2"))
#> d.testsas <- haven::read_sas(data_file = "/home/runner/work/_temp/Library/DescrTab2/examplestestsas.sas7bdat", catalog_file = "")
#> d <- list(d.testsas)
#> names(d) <- c("testsas")
#> NULL