X-DataInitiative / SCALPEL-Extraction

SCALPEL extraction library to fetch concepts from flattened SNDS
BSD 3-Clause "New" or "Revised" License
17 stars 3 forks source link

CNAM-457: MinimumDuration parameter for Interaction Transformer. #251

Closed ysebiat closed 4 years ago

ysebiat commented 4 years ago

Add a Minimum Duration parameter for Interaction Transformer. This allow to filter out all Interaction Events when the duration is less then the passed parameter, which can be helpful to discard drugs switch.

codecov[bot] commented 4 years ago

Codecov Report

Merging #251 into develop will increase coverage by 0.00%. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #251   +/-   ##
========================================
  Coverage    93.30%   93.31%           
========================================
  Files          218      218           
  Lines         2526     2529    +3     
  Branches        72       70    -2     
========================================
+ Hits          2357     2360    +3     
  Misses         169      169           
Impacted Files Coverage Δ
...nique/cmap/cnam/study/fall/config/FallConfig.scala 100.00% <ø> (ø)
.../cnam/etl/transformers/interaction/ExposureN.scala 100.00% <100.00%> (ø)
...ers/interaction/InteractionTransformerConfig.scala 100.00% <100.00%> (ø)
...ers/interaction/NLevelInteractionTransformer.scala 100.00% <100.00%> (ø)
...udy/rosiglitazone/outcomes/OutcomeDefinition.scala 50.00% <0.00%> (-45.24%) :arrow_down:
...am/study/rosiglitazone/outcomes/HeartFailure.scala 100.00% <0.00%> (+100.00%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update fda89fe...685862d. Read the comment docs.