get.classifications: Get Classifications Function

Description Usage Arguments Examples

View source: R/functions.R

Description

This function allows you to use the select multiple classifications.

Usage

1
2
3
get.classifications(url, collection, view, codeLimit = NULL,
  codeOffset = NULL, codeSort = NULL, key = NULL, limit = NULL,
  offset = NULL, sort = NULL)

Arguments

url

The base URL of the RDS server

collection

The collection ID

view

The view ID

codeLimit

Specifies the number of codes to return in each classification

codeOffset

Specifies the starting index of the codes in each classification

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 classifications to return

offset

Specifies the starting index of the classifications

sort

Specifies how to sort the classfications returned. Classifications will be sorted by their ID and can be sorted ASC or DESC

Examples

1
2
3
get.classifications("http://localhost:8080/rds/api/catalog/","myCollection","myView") 
get.classifications("http://localhost:8080/rds/api/catalog/","myCollection","myView",limit=10,offset=10,sort="DESC") 
get.classifications("http://localhost:8080/rds/api/catalog/","myCollection","myView",codeLimit=100,codeSort="DESC")  

mtna/rrds documentation built on May 23, 2019, 8:19 a.m.