refdb_plot_map | R Documentation |
This functions generate an interactive maps showing the location of the records of a reference database. Note that only records with latitude and longitude data will be displayed.
refdb_plot_map(x)
x |
a reference database. |
An interactive map object from the leaflet package.
lib <- read.csv(system.file("extdata", "baetidae_bold.csv", package = "refdb")) lib <- refdb_set_fields_BOLD(lib) lib <- refdb_set_fields(lib, latitude = "lat", longitude = "lon") refdb_plot_map(lib)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.