existsPredictionName: Check if Prediction definition name exists.

View source: R/AutoGeneratedDefinitions.R

existsPredictionNameR Documentation

Check if Prediction definition name exists.

Description

Check if Prediction definition name exists.

Usage

existsPredictionName(predictionName, baseUrl)

Arguments

predictionName

A string name for the Prediction to be checked.

baseUrl

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

Details

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

Value

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

Examples

## Not run: 
existsPredictionName(predictionName = "this text string needs to be checked",
                     baseUrl = "http://server.org:80/WebAPI")

## End(Not run)

OHDSI/ROhdsiWebApi documentation built on March 15, 2023, 1:23 p.m.