This is a wrapper for the method find_by_unit_id from class SpecimenClient.

specimen_find_by_unit_id(unitID = NULL, returnType = "data.frame", ...)

Arguments

unitID

the unitID of the specimen to query, type:

returnType

Either list or data.frame (default)

...

additional parameters passed to find_by_unit_id from class nbaR.SpecimenClient

Value

list or data.frame, as specified by returnType

Details

Get a specimen by its unitID. Returns a list of specimens since unitIDs are not strictly unique

See also