dateAdjustment: Function to create age attribute

View source: R/attributes-dateAdjustment.R

dateAdjustmentR Documentation

Function to create age attribute

Description

Function to create age attribute

Usage

dateAdjustment(
  startWith = "START_DATE",
  startOffset = 0L,
  endWith = "END_DATE",
  endOffset = 0L
)

Arguments

startWith

character string either START_DATE or END_DATE

startOffset

an integer value, default 0

endWith

character string either START_DATE or END_DATE

endOffset

an integer value, default 0

Value

A dateAdjustment attribute class that can be used with a query


OHDSI/Capr documentation built on Feb. 20, 2025, 4 a.m.