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

specimen_get_distinct_values(field = NULL, queryParams = list(),
  returnType = "data.frame", ...)

Arguments

field

Name of field in specimen object, type:

queryParams

Named list or vector with names being the fields to be queried and values being the values to match

returnType

Either list or data.frame (default)

...

additional parameters passed to get_distinct_values from class nbaR.SpecimenClient

Value

scalar

Details

A list of all fields for specimen documents can be retrieved with /metadata/getFieldInfo

See also