Connection: Return an R object that will return association lists or...

Description Usage Format Value Methods See Also Examples

Description

Return an R object that will return association lists or association lists. This class provides object with methods for communication with RESTful services. This is low-level function and it is not recommended for an user to call this function.

Usage

1

Format

R6Class object.

Value

An R object of R6Class with methods that communicate with Medusa or association lists.

Methods

Documentation

Return an R object that will return association lists or association lists. Visit https://github.com/misasa/MedusaRClient/ for detail.

new()

Return a new R object that corresponds to a port (or a connection) for association lists.

get(resource, id, params = NULL)

Get record with resource as resource name, id as id, and params as list of query parameters

gets(resource, ids, params = NULL)

Get record with resource as resource name, ids as list of ids, and params as list of query parameters

gets_sub(owner, id, resource, params = NULL)

Get record with owner as parent resource name, id as id of parent record, resource as resource name, and params as list of query parameters

See Also

pmlame and resource

Examples

1
2
conn <- Connection$new(list(uri="https://dream.misasa.okayama-u.ac.jp/pub/"))
record <- conn$get("specimens",23952)

misasa/MedusaRClient documentation built on June 22, 2019, 1:52 a.m.