bdchecks
Managing all data checks
Install bdchecks with:
devtools::install_github("bd-R/bdchecks")Load with:
library(bdchecks)Run shiny app with:
runbdchecks()Performing data checks
Perform data checks (not exported yet):
resultDC <- bdchecks::performDataCheck(dataBats)Check what data checks were performed (default show method):
resultDCExport data after data checks (file or R object) (not exported yet):
bdchecks::exportDataCheck(resultDC)Quick glance at data check result (% of records that passed) (not exported yet):
# Nice summary
summary_DC(resultDC)Dealing with data checks
Load data checks (DC) into R using getDC() function. Needs local yaml file:
DC <- getDC(pathToYAML)Export DCs from a given yaml file to rda and roxygen2 comments:
bdchecks:::exportDC(pathToYAML)