Check if Cohort definition name exists.

existsCohortName(cohortName, baseUrl)

Arguments

cohortName

A string name for the Cohort to be checked.

baseUrl

The base URL for the WebApi instance, for example: "http://server.org:80/WebAPI".

Value

If found, the function will return a tibble with details of the specification. If not found, FALSE will be returned.

Details

Check if a string name already exists in the WebApi as a Cohort definition name.

Examples

if (FALSE) {
existsCohortName(cohortName = "this text string needs to be checked",
                 baseUrl = "http://server.org:80/WebAPI")
}