demographics_table: Get demographics information, drug repurposing project

Description Usage Arguments Details

View source: R/demographics_table.R

Description

Get demographics information, drug repurposing project

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
demographics_table(
  r_drugs,
  r_covariates,
  r_biomarkers,
  drug,
  phenotype,
  biomarker,
  indication_drugs,
  concept_id_exclusions,
  exptid
)

Arguments

r_drugs

A tibble, with columns c('person_id','start_date','end_date','drug_exposure_start_date','drug_concept_id')

r_covariates

A tibble, with columns c('person_id','dob','gender_concept_id','race_concept_id','drug_concept_id','first_drug_exposure','last_drug_exposure')

r_biomarkers

A tibble, with columns c('person_id','start_date','measurement_date','end_date','measurement_concept_id','value_as_number')

drug

A string, e.g., "simvastatin"

phenotype

A string, e.g., "Hyperlipidemia"

biomarker

A string, e.g., "LDL Cholesterol"

indication_drugs

A tibble, e.g., DrugRepurposingToolKit::drugsHyperlipidemia

concept_id_exclusions

A vector, e.g., c(2212451)

exptid

A numeric, e.g., 20210123061054

Details

Updated: 2021-03-27


pwatrick/pwUtilities documentation built on Oct. 18, 2021, 6:21 p.m.