getinfo: assignmentClass methods

View source: R/as_assignment_class.R

getinfoR Documentation

assignmentClass methods

Description

getinfo allows you to retrieve relevant additional information from the assignmentClass, object depending on the api endpoint.

Usage

getinfo(obj, arg)

Arguments

obj

object of assignmentClass

arg

name of attribute, if arg="arglist" then it returns all available arguments

Details

To retrieve all availalbe arguments use arg="arglist"

Value

the specific attribute

Examples

## Not run: 

# retrieve the uid of the person responsible after retrieving details for specific assignment
getinfo(asslist, "responsibleid")

# see all available attribute names
getinfo(asslist, "arglist")


## End(Not run)


michael-cw/SurveySolutionsAPI documentation built on Jan. 14, 2024, 2:58 a.m.