-
Fixed missing
cdm_schemaattribute incdm_referencewhen using remote databases (e.g., SQL Server). -
Implemented dynamic, unique schema names (prefixed with
cdm_testgenerator_) to prevent database collisions. -
Fixed
patientsCDM()to ensure the correct remote CDM reference is returned during the injection process. -
Added regression tests to verify
cdm_schemaattribute presence andCohortConstructorcompatibility on SQL Server. -
Removed
DARWIN_prefix from environment variables to run tests on SQL Server and Postgres.
-
Support for PostgreSQL as a DBMS in
patientsCDM() -
Added
RPostgrestoImports -
Added
skip_on_cran()to several tests to avoid network dependencies duringR CMD check -
Updated
.gitignoreand.Rbuildignore
-
Support other database types next to duckdb: sqlserver and databricks
-
Remove dependency on arrow
-
generateTestTables()creates the most common used tables in the Excel sheet by default
- Support cdm version 5.4, this requires the latest version of CDMConnector
- Extra tables can be added through
readPatients.xl(), that table then is pushed to "other tables" in the CDM reference usingpatientsCDM().
-
generateTestTable()creates an Excel file with sheets that correspond to OMOP-CDM tables. -
patientsCDM()now acceptscdmNameas argument to allow for custom cdm name. -
getEmptyCDM()returns an empty cdm object.
- Fixed bug related to empty tables pushed to the duckdb CDM.
-
readPatients()now has a parameter to select either Excel or CSV files as an input. -
readPatients.xl()andreadPatients.csvare 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.
- Using omopgenerics for checking Excel data.
- Updated DESCRIPTION.
- Updated examples.
- Updated messages in functions.
- Updated documentation and vignette explaining sample data.
- Initial CRAN submission.
- Tests passed and finishes documentation.