new additions

This commit is contained in:
Andreas Gammelgaard Damsbo 2024-04-12 12:20:13 +02:00
parent 9a167e6110
commit 0d8aaee9ff
No known key found for this signature in database
4 changed files with 16 additions and 4 deletions

View File

@ -33,7 +33,8 @@ Suggests:
styler, styler,
devtools, devtools,
roxygen2, roxygen2,
spelling spelling,
glue
License: GPL (>= 3) License: GPL (>= 3)
Encoding: UTF-8 Encoding: UTF-8
LazyData: true LazyData: true
@ -52,11 +53,13 @@ Imports:
shiny, shiny,
openxlsx2, openxlsx2,
haven, haven,
readODS readODS,
zip
Collate: Collate:
'utils.r' 'utils.r'
'process_user_input.r' 'process_user_input.r'
'REDCap_split.r' 'REDCap_split.r'
'create_instrument_meta.R'
'ds2dd.R' 'ds2dd.R'
'ds2dd_detailed.R' 'ds2dd_detailed.R'
'easy_redcap.R' 'easy_redcap.R'

View File

@ -2,6 +2,7 @@
export(REDCap_split) export(REDCap_split)
export(clean_redcap_name) export(clean_redcap_name)
export(create_instrument_meta)
export(d2w) export(d2w)
export(ds2dd) export(ds2dd)
export(ds2dd_detailed) export(ds2dd_detailed)

View File

@ -4,6 +4,10 @@
* Fix: `read_redcap_tables()`: field names testing allows to include "[form_name]_complete" fields. * Fix: `read_redcap_tables()`: field names testing allows to include "[form_name]_complete" fields.
* Fix: `ds2dd_detailed()`: default record ID name is now "record_id", the REDCap default. Default is still to use the first column name. Support was added to interpret column name prefix or suffix as instrument names. See the examples.
* New: `create_instrument_meta()`: creates zip with instrument files to allow adding new instruments to project in production. Takes data dictionary as input and creates a zip for each instrument specified by the `form_name` column.
### Documentation and more ### Documentation and more
* Dependencies: In order to deploy `shiny_cast()` with `shinylive`, I need to remove `curl` as a dependency. To accomplish this, the `shiny_deploy()` helper functions has been moved to the package [`pacakge.aid`](https://github.com/agdamsbo/package.aid). This is for a rainy day: https://r-wasm.github.io/rwasm/. The whole shiny part may be migrated to its own project to try to separate things and be easy on dependencies. Time will tell. * Dependencies: In order to deploy `shiny_cast()` with `shinylive`, I need to remove `curl` as a dependency. To accomplish this, the `shiny_deploy()` helper functions has been moved to the package [`pacakge.aid`](https://github.com/agdamsbo/package.aid). This is for a rainy day: https://r-wasm.github.io/rwasm/. The whole shiny part may be migrated to its own project to try to separate things and be easy on dependencies. Time will tell.

View File

@ -16,7 +16,7 @@ REDCapR
REDCapRITS REDCapRITS
THe THe
UI UI
Whishes WD
al al
api api
attr attr
@ -25,6 +25,7 @@ da
dafault dafault
datetime datetime
demonstrational demonstrational
dir
dmy dmy
doi doi
dplyr dplyr
@ -50,10 +51,13 @@ param
pegeler pegeler
perl perl
pos pos
pre
readr readr
rsconnect
sel sel
sep
seperator
shinyapps shinyapps
shinylive
stRoke stRoke
stata stata
strsplit strsplit