Create a study population
Arguments
- sccsData
An object of type SccsData as created using the getDbSccsData function.
- outcomeId
The outcome to create the era data for. If not specified it is assumed to be the one outcome for which the data was loaded from the database.
- createStudyPopulationArgs
An object of type
CreateStudyPopulationArgsas created using thecreateCreateStudyPopulationArgs()function.
Value
A list specifying the study population, with the following items:
cases: Atibblewith one row per observation period of a person with the outcome.outcomes: Atibblelisting the days when a case has the outcome.metaData: Alistwith meta data about the study population, including the attrition.