View source: R/createSettings.R
| createCohortSettings | R Documentation |
Create cohort settings.
createCohortSettings(
cohortsToCreate_location = NULL,
targetCohorts = NULL,
eventCohorts = NULL,
loadCohorts = FALSE,
cohortsFolder = NULL,
baseUrl = NULL,
generateCohorts = TRUE,
includeDescendants = TRUE
)
cohortsToCreate_location |
Optional: Location of saved cohortsToCreate object. |
targetCohorts |
Data frame containing the study population of interest (cohortId = "Unique ID number", cohortName = "Descriptive name cohort", optional: atlasId = "Cohort ID ATLAS", optional: conceptSet = "Concept set to use with SQL template"). |
eventCohorts |
Data frame containing the events of interest (cohortId = "Unique ID number", cohortName = "Descriptive name cohort", optional: atlasId = "Cohort ID ATLAS", optional: conceptSet = "Concept set to use with SQL template"). |
loadCohorts |
Setting to retrieve cohort definitions with atlasId from ATLAS WebApi. |
cohortsFolder |
Location where cohort definitions are stored (SQL/JSON files). |
baseUrl |
The base URL for the WebApi instance, for example: "http://server.org:80/WebAPI". Note, there is no trailing '/'. If trailing '/' is used, you may receive an error. |
generateCohorts |
Setting to (re)generate cohortTable in the database. |
includeDescendants |
Whether to include all descendants of Custom cohorts defined using conceptSet. |
Object cohortSettings.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.