QueryResultItemObject: QueryResultItemObject Class

QueryResultItemObjectR Documentation

QueryResultItemObject 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

# QueryResultItemObject$new()

Format

R6 class

Details

Model class for QueryResultItemObject objects. Contains an object returned from a QuerySpec query. Holds an item and a relevance score.

Fields

score

numeric

item

list

Methods

$new()

Constructor QueryResultItemObject object.

$fromList(QueryResultItemObjectList)

Create QueryResultItemObject object from list.

$toList()

Get list representation of QueryResultItemObject.

fromJSONString(QueryResultItemObjectJson)

Create QueryResultItemObject object from JSON.

toJSONString(pretty=TRUE)

Get JSON representation of QueryResultItemObject.


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