getDefinition: Get the definition for an id of chosen category in WebApi.

View source: R/GetPostDeleteDefinition.R

getDefinitionR Documentation

Get the definition for an id of chosen category in WebApi.

Description

Get the definition for an id of chosen category in WebApi.

Usage

getDefinition(id, baseUrl, category)

Arguments

id

An integer id representing the id that uniquely identifies a definition for the category in a WebApi instance.

baseUrl

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

category

These are the categories in WebApi. The valid string options are 'conceptSet', 'cohort', 'characterization', 'pathway, 'incidenceRate', 'estimation', 'prediction'.

Details

Get the definition for an id of chosen category in WebApi. The return object will be a R representation of the definition, that may be reconverted to JSON.

Value

An R object representing the definition

Examples

## Not run: 
getDefinition(id = 13242, category = "cohort", baseUrl = "http://server.org:80/WebAPI")

## End(Not run)

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