getConditionEvents: Get condition events from a condition occurrence/era table...

Description Usage Arguments Details Value Author(s)

Description

Get condition events from a condition occurrence/era table and an observation period table: takes the start date to be the event time, merges on person_id with observation periods, and filters to keep the event within the observation period.

Usage

1
2
getConditionEvents(condition, observation_period,
  date_column = !!br_symbol$condition_start_date)

Arguments

condition

the condition occurrence or condition era table

observation_period

the observation period table

date_column

(NSE evaluation) the column in the condition table that should be used as the condition event time, 'condition_start_date' by default.

Details

Defaults work for the condition_occurrence table, need to specify date column for condition era ('condition_era_start_date' according to OMOP CDM)

Value

a table of condition events

Author(s)

Yuriy Sverchkov


sverchkov/BaselineRegularization documentation built on May 9, 2019, 1:26 p.m.