generateTestTable()
creates an Excel file with sheets that correspond to OMOP-CDM tables.
patientsCDM()
now accepts cdmName
as argument to allow for custom cdm name.
getEmptyCDM()
returns an empty cdm object.
readPatients()
now has a parameter to select either Excel or CSV files as an input.
readPatients.xl()
and readPatients.csv
are also exported functions for convenience.
graphCohort()
provides a visualisation of cohort timelines.
JSONS are saved in the testthat/testCases folder as default for better test self-containment.
Tested with MIMIC database.