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

View File

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

View File

@ -4,6 +4,10 @@
* 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
* 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
THe
UI
Whishes
WD
al
api
attr
@ -25,6 +25,7 @@ da
dafault
datetime
demonstrational
dir
dmy
doi
dplyr
@ -50,10 +51,13 @@ param
pegeler
perl
pos
pre
readr
rsconnect
sel
sep
seperator
shinyapps
shinylive
stRoke
stata
strsplit