get.classification: Get Classification Function

Description Usage Arguments Examples

View source: R/functions.R

Description

This function allows you to select a classification based on its ID.

Usage

1
2
get.classification(url, collection, view, class.id = NULL, codeSort = NULL,
  key = NULL, limit = NULL, offset = NULL)

Arguments

url

The base URL of the RDS server

collection

The collection ID

view

The view ID

class.id

The classification ID to select

codeSort

Specifies how the codes should be sorted, options are ASC or DESC

key

API key for views that require a key.

limit

Specifies the number of codes to return

offset

Specifies the starting index of the codes

Examples

1
2
3
get.classification("http://localhost:8080/rds/api/catalog/","myCollection","myView",class.id="myClass")
get.classification("http://localhost:8080/rds/api/catalog/","myCollection","myView",class.id="myClass",limit=10,offset=10)
get.classification("http://localhost:8080/rds/api/catalog/","myCollection","myView",class.id="myClass",codeSort="DESC")

mtna/rrds documentation built on May 22, 2017, 3:22 p.m.