The Response object is a generic object returned by any query function of one of the nbaR client classes.
Response
An object of class R6ClassGenerator
of length 24.
Response Class
This class contains two fields (see also section 'Fields' below):
The field content
contains the query result parsed from
the JSON response of the request. Depending on the query, this
can be an object such as e.g. a ResultSet
, or a Specimen
or
Taxon
or a primitive data type. The field reponse
is the actual response from the httr
package that is used
to perform the http request. It contains information such as the request and response headers,
status code, URL, and the raw response.
content
Parsed response of the query call
response
Response object from package httr
https://cran.r-project.org/web/packages/httr/vignettes/quickstart.html for further details.