pharmaverse / sdtmchecks

Analysis facing checks for SDTM data
https://pharmaverse.github.io/sdtmchecks/
Apache License 2.0
20 stars 6 forks source link

Vignette around customizing calls in run_all_checks #348

Open harriscw opened 1 week ago

harriscw commented 1 week ago

run_all_checks works by passing function calls defined in sdtmchecksmeta$fxn_in to individual checks.

A vignette around how to modify this a bit as an end user (e.g. by supplying custom covid terms) would be helpful.

harriscw commented 1 week ago

For example:


metads = sdtmchecksmeta %>%
mutate(fxn_in = ifelse(check=="check_ae_aeacn_ds_disctx_covid","AE=ae,DS=ds,covid_terms=c(a really long and helpful list of covid terms)",fxn_in))

run_all_check(metads=metads)