View source: R/process_covariates.R
Process covariates data: keep only adult patients, calculate age at start of observation period, and keep only European ancestry patients Last updated: 2021-02-10
1 | process_covariates(covariates, df_drug_obsperiod, european = 1, ...)
|
covariates |
A tibble with columns, c('person_id','dob','gender_concept_id','race_concept_id') |
df_drug_obsperiod |
A tibble with columns, c('person_id','start_date','first_drug_exposure','final_end_date') |
european |
A binary value with 1 = only use european ancestry, and 0 = use entire cohort. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.