REDCapCAST/data-raw/redcapcast_data.R

9 lines
379 B
R
Raw Permalink Normal View History

## code to prepare `redcapcast_data` dataset goes here
redcapcast_data <- REDCapR::redcap_read(redcap_uri = keyring::key_get("DB_URI"),
token = keyring::key_get("cast_api"),
raw_or_label = "label"
)$data
usethis::use_data(redcapcast_data, overwrite = TRUE)