Create createDemographicSubset Subset

createDemographicSubset(
  name = NULL,
  ageMin = 0,
  ageMax = 99999,
  gender = NULL,
  race = NULL,
  ethnicity = NULL
)

Arguments

name

Optional char name

ageMin

The minimum age

ageMax

The maximum age

gender

Gender demographics - concepts - 0, 8532, 8507, 0 "male", "female". Any string that is not (case insensitive) "male" or "female" is converted to gender concept 0 https://www.ohdsi.org/web/wiki/doku.php?id=documentation:vocabulary:gender Specific concept ids not in this set can be used but are not explicitly validated

race

Race demographics - concept ID list

ethnicity

Ethnicity demographics - concept ID list