mirror of
https://github.com/agdamsbo/REDCapCAST.git
synced 2026-06-19 05:07:30 +02:00
including data and sorting vignette. still work to be done.
This commit is contained in:
parent
349ff695e1
commit
09690777a8
14 changed files with 184 additions and 27 deletions
8
data-raw/redcapcast_data.R
Normal file
8
data-raw/redcapcast_data.R
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
## code to prepare `redcapcast_data` dataset goes here
|
||||
|
||||
redcapcast_data <- REDCapR::redcap_read(redcap_uri = uri,
|
||||
token = keyring::key_get("cast_api"),
|
||||
raw_or_label = "label"
|
||||
)$data
|
||||
|
||||
usethis::use_data(redcapcast_data, overwrite = TRUE)
|
||||
6
data-raw/redcapcast_meta.R
Normal file
6
data-raw/redcapcast_meta.R
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
## code to prepare `redcapcast_meta` dataset goes here
|
||||
redcapcast_meta <- REDCapR::redcap_metadata_read(redcap_uri = uri,
|
||||
token = keyring::key_get("cast_api")
|
||||
)$data
|
||||
|
||||
usethis::use_data(redcapcast_meta, overwrite = TRUE)
|
||||
Loading…
Add table
Add a link
Reference in a new issue