compile,Cohort-method | R Documentation |
Compile a Capr cohort to json
Compile a Capr Concept Set to json
## S4 method for signature 'Cohort'
compile(object, ...)
## S4 method for signature 'ConceptSet'
compile(object, ...)
object |
A Capr Concept Set created with 'cs' |
... |
Arguments passed on to jsonlite::toJSON. e.g. 'pretty = TRUE' for nicely formatted json. |
The json representation of Capr cohorts
The json representation of Capr cohorts
ch <- cohort(conditionOccurrence(cs(1,2, name = "concepts")))
compile(ch)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.