Skip to contents

[Experimental]

Takes a tibble of iNaturalist occurrences and produces a stacked bar chart of mean observations per calendar month across years, coloured by iconic taxon group. Error bars show ± 1 standard error of the mean across years. All twelve months are always shown, including those with zero observations.

Usage

obs_per_month(df)

Arguments

df

An sf tibble of iNaturalist occurrences containing at least the columns observed_on_details.month, observed_on_details.year, and taxon.iconic_taxon_name.

Value

A ggplot object printed to the active device.

Author

Alessandro Oggioni, PhD alessandro.oggioni@cnr.it

Alice Lenzi, phD alice.lenzi@crea.gov.it

Examples

if (FALSE) { # \dontrun{
obs_per_month(occ_eLTER_legal)
} # }