View source: R/AutoGeneratedDefinitions.R
updateCohortDefinition | R Documentation |
Update a Cohort definition.
updateCohortDefinition(cohortDefinition, baseUrl)
cohortDefinition |
An R list object containing the expression for the specification. Must include id, name and expression. This will be converted to JSON expression by function and posted into the WebApi. The definition will be checked against the WebApi instance for errors |
baseUrl |
The base URL for the WebApi instance, for example: "http://server.org:80/WebAPI". |
Update a Cohort definition.
## Not run: definition <- getCohortDefinition(id = 13242, baseUrl = "http://server.org:80/WebAPI", category = cohort) definition$name <- "My new name for this" updateCohort(cohortDefinition, baseUrl, category = "cohort") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.