#displaying the map using shiny app
library(rgbif)
library(mapr)
map1 <- function(country,classKey){
data <- occ_search(
country = country,
classKey = as.numeric(classKey),
limit= 100,hasCoordinate = T)
map_ggmap(data)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.