R/mammalmap.R
mammalmap.Rd
This function retrieve the locality data for one species in the mammalcol pacakage dataset, and returns a map using ggplot2 of the departamentos where the species has been recorded.
mammalmap(species, legend = TRUE)
A character string containing the name of one species present in Colombia to plot a map of presence by departamento.
A logical (TRUE or FALSE) to get the legend in the map when is TRUE, or not if it is FALSE.
A ggplot2 map for the species.
The function does not allows fuzzy matching, so the specie name should be correct. It is advised to run first the search_mammalcol function.