addTarColumn: addTarColumn

View source: R/Helpers.R

addTarColumnR Documentation

addTarColumn

Description

Finds the four TAR columns and creates a new column called tar that pastes the columns into a nice string

Usage

addTarColumn(data)

Arguments

data

The data.frame with the individual TAR columns that you want to combine into one column

Details

Create a friendly single tar column

Value

The data data.frame object with the tar column added if seperate TAR columns are found

See Also

Other helper: formatBinaryCovariateName(), getExampleConnectionDetails(), kableDark(), printReactable(), removeSpaces()

Examples

addTarColumn(data.frame(
tarStartWith = 'cohort start',
tarStartOffset = 1,
tarEndWith = 'cohort start',
tarEndOffset = 0
))


OhdsiReportGenerator documentation built on June 8, 2025, 1:09 p.m.