HARD/SampleShinyApp/helper.R

#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)
}
AshwinAgrawal16/BiodiversityGSoC17 documentation built on May 5, 2019, 8:12 a.m.