Integration Unit Tests for Pharmacoepidemiological Studies


[Up] [Top]

Documentation for package ‘TestGenerator’ version 0.5.0

Help Pages

checkRemoteFileAvailable Check if a given remote file is available for download
checkTablesColumns Check if the given tables and columns are valid and return the loaded data.
downloadTestData Download Test Data Files
generateTestTables Generates an Excel file with sheets that correspond to an OMOP-CDM tables.
graphCohort 'graphCohort()' aids in the visualisation of cohorts timelines, useful to get a grip on intersections.
patientsCDM Pushes test population into a blank CDM.
readPatients Converts a sample of patients into Unit Testing Definition JSON file.
readPatients.csv Converts a sample of patients in CSV format into a Unit Testing Definition JSON file.
readPatients.xl Converts a sample of patients in XLSX format into Unit Testing Definition JSON file.