Skip to content

Subset creation - #96

Merged
jreps merged 26 commits into
developfrom
subset_creation
Jul 31, 2026
Merged

Subset creation#96
jreps merged 26 commits into
developfrom
subset_creation

Conversation

@jreps

@jreps jreps commented Jul 31, 2026

Copy link
Copy Markdown
Collaborator

Before you do a pull request, you should always file an issue and make sure the package maintainer agrees that it’s a problem, and is happy with your basic proposal for fixing it. We don’t want you to spend a bunch of time on something that we don’t think is a good idea.

Additional requirements for pull requests:

  • Adhere to the Developer Guidelines as well as the OHDSI Code Style.

  • If possible, add unit tests for new functionality you add.

  • Restrict your pull request to solving the issue at hand. Do not try to 'improve' parts of the code that are not related to the issue. If you feel other parts of the code need better organization, create a separate issue for that.

  • Make sure you pass R check without errors and warnings before submitting.

  • Always target the develop branch, and make sure you are up-to-date with the develop branch.

jreps added 23 commits June 1, 2026 16:36
- updated all analyses to use study population rather than target id as this enables subsetting filtering on min prior obs, first in n days, nesting id, age, gender, and date.
minor fixes
- updating vignettes
- updating unit tests for main analyses and fixing issues (still need to update results database via migration scripts)
fixing result table creation and uploading for new result tables
-replacing IFNULL with ISNULL
- fixing outcomeId is dechal-rechal
- fixing manual data tests
fixing sqrt 0 division
aiming to fix bigquery int float issue
trying to fix weird union issue only impacting bigquery
adding spacing between UNION and SELECT to fix odd bigquery conversion
fixing missing column from migration and no cohort edge cases
- added setting lookups
- changed bit columns to char(1) due to loading issues
- changed boolean values to 1/0 for uploading
- fixing outcome before TAR
- adding option to do washout using outcomes outside of observation period
…dered

fixing target/case code for situation where cohorts are not nicely ordered
- replacing row_number with row_id since row_number is a SQL function
- adding code to do outcome eras for risk factor analysis
- fixing shiny app in Characterization
- added test for outcomeWashoutDays to make sure it is only a single value
- edited risk factors/case series so that the minCharacterizationMean is applied after processing (otherwise it can make SMD seem bigger)
preparing to merge into develop
@codecov

codecov Bot commented Jul 31, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 97.23926% with 18 lines in your changes missing coverage. Please review.
✅ Project coverage is 93.77%. Comparing base (d8c5831) to head (71cd59e).

Files with missing lines Patch % Lines
R/StudyPopulation.R 78.37% 8 Missing ⚠️
R/RunCharacterization.R 97.50% 5 Missing ⚠️
R/CaseSeries.R 83.33% 3 Missing ⚠️
R/RiskFactorAnalysis.R 94.73% 1 Missing ⚠️
R/ViewShiny.R 95.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop      #96      +/-   ##
===========================================
- Coverage    94.43%   93.77%   -0.67%     
===========================================
  Files           15       16       +1     
  Lines         3901     3982      +81     
===========================================
+ Hits          3684     3734      +50     
- Misses         217      248      +31     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

jreps added 3 commits July 31, 2026 10:09
- fixing merge conflict issue where restrictWashoutToObs got added
- updated required OhdsiShinyModules for shiny app
- added missing columns to database_meta_data when viewing shiny to prevent annoying error message.
@jreps
jreps merged commit 226b942 into develop Jul 31, 2026
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant