aw_map | R Documentation |
Builds an interactive map of locations for any list of species
aw_map(aw_obj, dest = tempdir(), title = "AntWeb species map", incl.data = TRUE)
aw_obj |
Result from a search on AntWeb |
dest |
Location where the html file and geojson file should be stored. Default is the temp directory |
title |
Title of the map. |
incl.data |
Default is |
## Not run: acanthognathus_df <- aw_data(genus = "acanthognathus", georeferenced = TRUE) aw_map(acanthognathus_df) # Or just plot data by habitat. So for e.g. using sandstone as a substrate sandstone <- aw_data(habitat = "sandstone") aw_map(sandstone) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.