Learn R Programming

sdtmval (version 0.4.1)

read_edc_tbls: Import EDC data tables

Description

Reads-in EDC data table .csv files and puts them in a list.

Usage

read_edc_tbls(edc_tbls, dir)

Value

a named list of data frames where the names are taken from edc_tbls

and the data frames are the EDC data tables

Arguments

edc_tbls

character vector of EDC table file names (without extension)

dir

string, EDC data directory

Details

The file encoding will be UTF-8.

See Also

read_sdtm_tbls()

Examples

Run this code
edc_tbls <- c("xx", "vd")
edc_dir <- system.file("extdata", package = "sdtmval")
edc_dat <- read_edc_tbls(edc_tbls, dir = edc_dir)

Run the code above in your browser using DataLab