isValidIncidenceRateId: is IncidenceRate id a valid definition in the WebApi.

View source: R/AutoGeneratedDefinitions.R

isValidIncidenceRateIdR Documentation

is IncidenceRate id a valid definition in the WebApi.

Description

is IncidenceRate id a valid definition in the WebApi.

Usage

isValidIncidenceRateId(incidenceRateIds, baseUrl)

Arguments

incidenceRateIds

A list of integer id(s) of the IncidenceRate to be tested for validity.

baseUrl

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

Details

Checks if a set of id for a IncidenceRate is valid. The following checks are performed. 1) checks if all the ids exists in the WebApi i.e. valid.

Value

A logical vector indicating if an ID is valid.

Examples

## Not run: 
isValidIncidenceRateId(incidenceRateIds = c(13242, 3423, 34),
                       baseUrl = "http://server.org:80/WebAPI")

## End(Not run)

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