DemographicSubsetOperator | R Documentation |
Operators for subsetting a cohort by demographic criteria
char vector Get auto generated name
CohortGenerator::SubsetOperator
-> DemographicSubsetOperator
ageMin
Int between 0 and 99999 - minimum age
ageMax
Int between 0 and 99999 - maximum age
gender
vector of gender concept IDs
race
character string denoting race
ethnicity
character string denoting ethnicity
toList()
List representation of object Map gender concepts to names
DemographicSubsetOperator$toList()
mapGenderConceptsToNames()
DemographicSubsetOperator$mapGenderConceptsToNames( mapping = list(`8507` = "males", `8532` = "females", `0` = "unknown gender") )
mapping
optional list of mappings for concept id to nouns
getAutoGeneratedName()
name generated from subset operation properties
DemographicSubsetOperator$getAutoGeneratedName()
character
toJSON()
json serialized representation of object
DemographicSubsetOperator$toJSON()
isEqualTo()
Compare Subset to another
DemographicSubsetOperator$isEqualTo(criteria)
criteria
DemographicSubsetOperator instance
getGender()
Gender getter - used when constructing SQL to default NULL to an empty string
DemographicSubsetOperator$getGender()
getRace()
Race getter - used when constructing SQL to default NULL to an empty string
DemographicSubsetOperator$getRace()
getEthnicity()
Ethnicity getter - used when constructing SQL to default NULL to an empty string
DemographicSubsetOperator$getEthnicity()
clone()
The objects of this class are cloneable with this method.
DemographicSubsetOperator$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.