detectPredictionsByName: Detect the presence of string matched Prediction definitions.

View source: R/AutoGeneratedDefinitions.R

detectPredictionsByNameR Documentation

Detect the presence of string matched Prediction definitions.

Description

Detect the presence of string matched Prediction definitions.

Usage

detectPredictionsByName(pattern, negate = FALSE, baseUrl)

Arguments

pattern

A pattern to look for. See str_detect for details.

negate

If TRUE, return non-matching elements. See str_detect for details.

baseUrl

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

Details

Detect string matched Prediction definition names from the WebApi, and retrieve metadata definitions.

Value

FALSE if no matches. If matched - output from getPredictionDefinitionsMetaData

Examples

## Not run: 
detectPredictions(pattern = "this text string to search in pattern",
                  baseUrl = "http://server.org:80/WebAPI")

## End(Not run)

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