Create SCCS era data
createSccsIntervalData(studyPopulation, sccsData, createSccsIntervalDataArgs)
An object of type SccsIntervalData
.
An object created using the createStudyPopulation()
function.
An object of type SccsData as created using the getDbSccsData function.
An object of type CreateSccsIntervalDataArgs
as created by the
createCreateSccsIntervalDataArgs
function.
This function creates covariates based on the data in the sccsData
argument, according to the
provided settings. It chops patient time into periods during which all covariates remain constant.
The output details these periods, their durations, and a sparse representation of the covariate
values.