OHDSI / SelfControlledCaseSeries

An R package for performing Self-Controlled Case Series (SCCS) analyses in an observational database in the OMOP Common Data Model.
http://ohdsi.github.io/SelfControlledCaseSeries
13 stars 8 forks source link

Migration #46

Closed schuemie closed 1 year ago

schuemie commented 1 year ago

This implements migration to the new results data model.

Currently requiring SqlRender 1.16.0, which hasn't been released yet, for the support of ALTER TABLE ... ADD ...

The final (migrated) database schema will have four fields (outcome_rate_ adjusted_rate, stable, and p) in the time_trend table that are not in the CSV files produced by exportToCsv() nor in the CSV file describing the results schema. These are deprecated, and are only there so we don't throw away information.

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.13% :tada:

Comparison is base (c0be3f6) 86.70% compared to head (4547efa) 86.83%.

:exclamation: Current head 4547efa differs from pull request most recent head ed86ab3. Consider uploading reports for the commit ed86ab3 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #46 +/- ## =========================================== + Coverage 86.70% 86.83% +0.13% =========================================== Files 29 30 +1 Lines 4594 4642 +48 =========================================== + Hits 3983 4031 +48 Misses 611 611 ``` | [Files Changed](https://app.codecov.io/gh/OHDSI/SelfControlledCaseSeries/pull/46?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=OHDSI) | Coverage Δ | | |---|---|---| | [R/Export.R](https://app.codecov.io/gh/OHDSI/SelfControlledCaseSeries/pull/46?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=OHDSI#diff-Ui9FeHBvcnQuUg==) | `88.90% <100.00%> (+0.01%)` | :arrow_up: | | [R/ResultsDataModel.R](https://app.codecov.io/gh/OHDSI/SelfControlledCaseSeries/pull/46?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=OHDSI#diff-Ui9SZXN1bHRzRGF0YU1vZGVsLlI=) | `100.00% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.