Description Arguments Value Examples
GET a resource, a wrapper around get_uri
uri |
character the uri to get |
... |
further arguments for httr::GET including |
depaginate |
logical, if TRUE then pool paginated nodes into one |
asNode |
logical, if TRUE return a class that inherits NodeRefClass |
XML::xmlNode - possibly an error node
1 2 3 4 5 6 7 | ## Not run:
# list the samples in a project - returns an XML::xmlNode
ss <- lims$GET(lims$uri("samples"), query = list(projectname = 'foobar'), asNode = FALSE)
# get the samples in a project parsed into as list of NodeRefClassObjects
SS <- lims$GET(lims$uri("samples"), query = list(projectname = 'foobar'), asNode = TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.