getDuration | R Documentation |
Compute the difference in days between 2 variables in a database table.
getDuration(
cdm,
tableName = "drug_exposure",
startDateCol = "drug_exposure_start_date",
endDateCol = "drug_exposure_end_date",
colName = "duration"
)
cdm |
CDMConnector reference object |
tableName |
the table name |
startDateCol |
the start date column name |
endDateCol |
the end date column name |
colName |
the result column name |
the table with as new column the duration
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.