Changelog
Source:NEWS.md
CDMConnector 1.5.0
CRAN release: 2024-07-16
- Get all tests passing on Databricks/Spark using odbc driver
- Emulate temporary tables on Databricks/Spark when compute is called with temporary = TRUE
- soft deprecate asDate in favor of as.Date
- soft deprecate assertWriteSchema since cdm object are now required to always have a write schema
- remove support for Capr cohort objects in generate_cohort_set to pass CRAN checks
CDMConnector 1.1.0
CRAN release: 2023-08-17
- add
copy_cdm_to
,copyCdmTo
- add
generate_concept_cohort_set
,generateConceptCohortSet
- add more example CDM datasets
- add
record_cohort_attrition
,recordCohortAttrition
- improve database test coverage
- update vignettes
Released Aug 17, 2023
CDMConnector 1.0.0
CRAN release: 2023-06-12
- remove
write_prefix
incdm_from_con
in favor of using thewrite_schema
argument for prefixing - remove
cdm_tables
argument fromcdm_from_con
in favor ofcdm_select_tbl
selection function - add attributes to the cdm object to communicate downstream temp table preferences
Released June 7, 2023
CDMConnector 0.6.0
CRAN release: 2023-05-05
- generate Capr cohorts with
generateCohortSet
- add datepart function for extracting year, month, day parts of dates in dplyr
- fix datediff logic for years so it now returns number of complete years between two date
- add “write_prefix” attribute to cdm objects to support a namespace within the write_schema
Released May 5, 2023
CDMConnector 0.5.1
CRAN release: 2023-03-22
- Add both camelCase and snake_case versions of all functions (@Tsemharb)
- Add cdm object attributes to
cdm_snapshot
output - use
number_records
andnumber_subjects
in cohort counts table - Minor bug fixes
Released on March 20, 2023
CDMConnector 0.5.0
CRAN release: 2023-03-09
- Define
generatedCohortSet
class - Add
summarize_quantile
for cross database quantile queries - Add
GeneratedCohortSet
object, constructor, and attribute accessor functions - Add vignette on cohort generation
- Add
cdmSubset
,cdmSubsetCohort
,cdmSample
for subsetting a cdm - Add
cdmFlatten
for transforming a cdm into a single flat table of observations - Improve test coverage
- Make Java dependency optional
-
cdm_schema
is now required incdm_from_con
except for duckdb connections - Remove visit_detail from default cdm tables
- Deprecate
computePermanent
- Improve package website
Substantial contributions by @edward-burn, @catalamarti, @Tsemharb who are now package co-authors.
Released Mar 8, 2023
CDMConnector 0.4.1
CRAN release: 2023-01-24
- Add
computeQuery
function for creating temp and persistent tables from dplyr queries - Download Eunomia from darwin-eu repository as zipped csv files
- Add passing tests for Oracle and Spark
- Add
asDate
wrapper that provides correct as.Date dbplyr translations - Incorporate code review suggestions from @mvankessel-EMC
Released Jan 21, 2023
CDMConnector 0.3.0
CRAN release: 2022-11-29
- Add computePermanent and appendPermanent functions
- Add readCohortSet
- Add generateCohortSet
- Extract Eunomia dataset so that it is downloaded separately
Released Nov 29, 2022