QueryResult: QueryResult Class

QueryResultR Documentation

QueryResult Class

Description

For more information on the NBA object model, please refer to the official NBA documentation at https://docs.biodiversitydata.nl and the NBA model and endpoints reference at https://docs.biodiversitydata.nl/endpoints-reference.

Usage

# QueryResult$new()

Format

R6 class

Details

Model class for QueryResult objects.

Fields

totalSize

integer

resultSet

list(QueryResultItemObject)

Methods

$new()

Constructor QueryResult object.

$fromList(QueryResultList)

Create QueryResult object from list.

$toList()

Get list representation of QueryResult.

fromJSONString(QueryResultJson)

Create QueryResult object from JSON.

toJSONString(pretty=TRUE)

Get JSON representation of QueryResult.


naturalis/nbaR documentation built on Nov. 12, 2023, 4:47 p.m.