specimen_count_distinct_values: Count the distinct number of values that exist for a given...

View source: R/SpecimenClient-wrapper.r

specimen_count_distinct_valuesR Documentation

Count the distinct number of values that exist for a given field

Description

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

Usage

specimen_count_distinct_values(field = NULL, queryParams = list(), ...)

Arguments

field

Name of field in the specimen object, type:

queryParams

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

...

additional parameters passed to count_distinct_values from class nbaR.SpecimenClient

Details

See also endpoint /getDistinctValues

Value

scalar

See Also

Other nbaR.SpecimenClient-wrappers: specimen_count_distinct_values_per_group, specimen_count, specimen_download_query, specimen_dwca_get_data_set_names, specimen_dwca_get_data_set, specimen_dwca_query, specimen_exists, specimen_find_by_ids, specimen_find_by_unit_id, specimen_find, specimen_get_distinct_values_per_group, specimen_get_distinct_values, specimen_get_field_info, specimen_get_ids_in_collection, specimen_get_named_collections, specimen_get_paths, specimen_get_settings, specimen_get_setting, specimen_group_by_scientific_name, specimen_is_operator_allowed, specimen_query


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