Skip to contents

Get stats on taxa within a constrained range. This range can be by user, place, project, day or date range. Output will be a count of the total number of taxa observed at each taxonomic level.

Usage

get_inat_taxon_stats(
  date = NULL,
  date_range = NULL,
  place = NULL,
  project = NULL,
  uid = NULL
)

Arguments

date

Retrieve observations on a specific date. Must be a string in the form "YYYY-MM-DD".

date_range

A vector of two dates defining a date range, each in the form "YYYY-MM-DD".

place

Get taxon stats by place. You can find place IDs on the iNaturalist website. Must be a numeric ID.

project

Get taxon stats by a project's numeric ID.

uid

Get taxon stats by user ID (string).

Value

A vector listing counts of observations at each level of identification possible (species, genus, etc.)

Examples

if (FALSE) {
 counts <- get_inat_taxon_stats(date = "2010-06-14")
}