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

SCCS reorganization #15

Closed schuemie closed 2 years ago

schuemie commented 5 years ago

The createSccsEras function in the SelfControlledCaseSeries package curently does too many things at once, like impose the naive period, select the outcome, define the eras, etc. We may want to have a createStudyPopulation function like in CohortMethod that performs some of these steps while keeping track of how many subjects are lost at each step. This could then also feed into the several diagnostics functions.