formatting

This commit is contained in:
Andreas Gammelgaard Damsbo 2024-02-06 14:15:36 +01:00
parent e1509188ff
commit 4f47c2ac5d
5 changed files with 11 additions and 6 deletions

View File

@ -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.

View File

@ -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"