Skip to contents

Wrapper around the 'aggregations_project_detections_count' endpoint to retrieve a count of detections for each project and per group(s) if specified.

Usage

get_aggregations_project_detections_count(project_name, ...)

Arguments

project_name

Name of the project to get a count on detetcions

...

query paramaters. See https://api.ecopi.de/api/v0.2/aggregations/projects/{project_name}/detections_count

Value

A list of meta information of the api request and a dataframe of the counts of detections for a specified project and per specified group (stored in the list "$result"): https://api.ecopi.de/api/v0.2/aggregations/projects/{project_name}/detections_count.

Examples

# Retrieve a count of detections for a specific project
if (FALSE) { # \dontrun{
get_aggregations_project_detections_count(project_name = "pam_in_chemnitz")
} # }
# Retrieve a count of detections for a specific project per specified group(s), here in the example per recorder and species
if (FALSE) { # \dontrun{
get_aggregations_project_detections_count(project_name = "pam_in_chemnitz", group_by = "recorder_field_id,scientific_name")
} # }