Compile a Capr object to json

compile(object, ...)

Arguments

object

A Capr object such as a cohort, list of cohorts, or concept set.

...

Arguments passed on to jsonlite::toJSON. e.g. `pretty = TRUE` for nicely formatted json.

Value

The json representation of the Capr object