Skip to contents

Search, retrieve and obtain a gridded map species occurrences in Costa Rica from gbif (GBIF) and iNaturalist (iNaturalist).

This function is a wrapper of the occ function from the spocc package.

#' @usage get_map(species_name)

Arguments

species_name

Genus and species (for example, "Desmodus rotundus")

Value

A ggplot2 plot.

Examples


get_map("Agalychnis callidryas")
#> Error in occ(query = species_name, from = c("gbif", "inat"), geometry = st_bbox(cr_outline),     has_coord = TRUE): could not find function "occ"