mirror of
https://github.com/agdamsbo/REDCapCAST.git
synced 2024-11-21 21:10:22 +01:00
formatting
This commit is contained in:
parent
e1509188ff
commit
4f47c2ac5d
@ -3,6 +3,10 @@
|
||||
redcapcast_data <- REDCapR::redcap_read(redcap_uri = keyring::key_get("DB_URI"),
|
||||
token = keyring::key_get("cast_api"),
|
||||
raw_or_label = "label"
|
||||
)$data
|
||||
)$data |> dplyr::tibble()
|
||||
|
||||
# redcapcast_data <- easy_redcap(project.name = "redcapcast_pacakge",
|
||||
# uri = keyring::key_get("DB_URI"),
|
||||
# widen.data = FALSE)
|
||||
|
||||
usethis::use_data(redcapcast_data, overwrite = TRUE)
|
||||
|
Binary file not shown.
@ -3,10 +3,11 @@
|
||||
#devtools::install_github("pegeler/REDCapRITS/R@longitudinal-data")
|
||||
|
||||
# Debugging reading in longitudinal datasets ------------------------------
|
||||
# setwd(here::here(""))
|
||||
|
||||
# Reading in the files
|
||||
file_paths <- file.path(
|
||||
"../test-data/test_splitr/",
|
||||
"test-data/test_splitr",
|
||||
c(
|
||||
records = "WARRIORtestForSoftwa_DATA_2018-06-21_1431.csv",
|
||||
metadata = "WARRIORtestForSoftwareUpgrades_DataDictionary_2018-06-21.csv"
|
||||
|
Loading…
Reference in New Issue
Block a user