detectEstimationsByName: Detect the presence of string matched Estimation definitions.

View source: R/AutoGeneratedDefinitions.R

detectEstimationsByNameR Documentation

Detect the presence of string matched Estimation definitions.

Description

Detect the presence of string matched Estimation definitions.

Usage

detectEstimationsByName(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 Estimation definition names from the WebApi, and retrieve metadata definitions.

Value

FALSE if no matches. If matched - output from getEstimationDefinitionsMetaData

Examples

## Not run: 
detectEstimations(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.