SubsetOperator | R Documentation |
Abstract Base Class for subsets. Subsets should inherit from this and implement their own requirements.
name
name of subset operation - should describe what the operation does e.g. "Males under the age of 18", "Exposed to Celecoxib"
new()
SubsetOperator$new(definition = NULL)
definition
json character or list - definition of subset operator
instance of object Class Name
classname()
Class name of object Get auto generated name
SubsetOperator$classname()
getAutoGeneratedName()
Not intended to be used - should be implemented in subclasses Return query builder instance
SubsetOperator$getAutoGeneratedName()
getQueryBuilder()
Return query builder instance Public Fields
SubsetOperator$getQueryBuilder(id)
id
- integer that should be unique in the sql (e.g. increment it by one for each subset operation in set)
publicFields()
Publicly settable fields of object Is Equal to
SubsetOperator$publicFields()
isEqualTo()
Compare Subsets - are they identical or not? Checks all fields and settings
SubsetOperator$isEqualTo(subsetOperatorB)
subsetOperatorB
A subset to test equivalence to To list
toList()
convert to List representation To Json
SubsetOperator$toList()
toJSON()
convert to json serialized representation
SubsetOperator$toJSON()
list representation of object as json character
clone()
The objects of this class are cloneable with this method.
SubsetOperator$clone(deep = FALSE)
deep
Whether to make a deep clone.
CohortSubsetOperator
DemographicSubsetOperator
LimitSubsetOperator
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.