specimen_count_distinct_values_per_group: Count the distinct number of field values that exist per the...

View source: R/SpecimenClient-wrapper.r

specimen_count_distinct_values_per_groupR Documentation

Count the distinct number of field values that exist per the given field to group by

Description

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

Usage

specimen_count_distinct_values_per_group(group = NULL, field = NULL,
  returnType = "data.frame", ...)

Arguments

group

Name of field in the specimen object you want to group by, type:

field

Name of field in the specimen object, type:

returnType

Either list or data.frame (default)

...

additional parameters passed to count_distinct_values_per_group from class nbaR.SpecimenClient

Details

See also endpoint /getDistinctValuesPerGroup

Value

scalar

See Also

Other nbaR.SpecimenClient-wrappers: specimen_count_distinct_values, 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.