Detect the presence of string matched IncidenceRate definitions.

detectIncidenceRatesByName(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".

Value

FALSE if no matches. If matched - output from getIncidenceRateDefinitionsMetaData

Details

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

Examples

if (FALSE) {
detectIncidenceRates(pattern = "this text string to search in pattern",
                     baseUrl = "http://server.org:80/WebAPI")
}