Specimen: Specimen Class

SpecimenR Documentation

Specimen 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

# Specimen$new()

Format

R6 class

Details

Model class for Specimen objects. This class models a Specimen record. Specimen records constitute the core of data served by the NBA. They can be unambiguously distinguished by the field unitID. Further fields include (among others) information about finding place, identification, and multimedia content.

Fields

sourceSystem

SourceSystem

sourceSystemId

character

recordURI

character

id

character

unitID

character The unique identifier of the specimen.

unitGUID

character

collectorsFieldNumber

character

assemblageID

character

sourceInstitutionID

character

sourceID

character

previousSourceID

list(character)

owner

character

licenseType

character

license

character

recordBasis

character

kindOfUnit

character

collectionType

character

sex

character

phaseOrStage

character

title

character

notes

character

preparationType

character

previousUnitsText

character

numberOfSpecimen

integer

fromCaptivity

logical

objectPublic

logical

multiMediaPublic

logical

acquiredFrom

Agent

gatheringEvent

GatheringEvent

identifications

list(SpecimenIdentification)

associatedMultiMediaUris

list(ServiceAccessPoint)

theme

list(character)

Methods

$new()

Constructor Specimen object.

$fromList(SpecimenList)

Create Specimen object from list.

$toList()

Get list representation of Specimen.

fromJSONString(SpecimenJson)

Create Specimen object from JSON.

toJSONString(pretty=TRUE)

Get JSON representation of Specimen.


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