createSccsIntervalData: Create SCCS era data

View source: R/SccsDataConversion.R

createSccsIntervalDataR Documentation

Create SCCS era data

Description

Create SCCS era data

Usage

createSccsIntervalData(studyPopulation, sccsData, createSccsIntervalDataArgs)

Arguments

studyPopulation

An object created using the createStudyPopulation() function.

sccsData

An object of type SccsData as created using the getDbSccsData function.

createSccsIntervalDataArgs

An object of type CreateSccsIntervalDataArgs as created by the createCreateSccsIntervalDataArgs function.

Details

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.

Value

An object of type SccsIntervalData.


SelfControlledCaseSeries documentation built on Aug. 8, 2025, 7:34 p.m.