knitr::opts_chunk$set(echo = FALSE)
r params$country
occdata <- params$data categories <- params$categories
bbox_country <- get_bbox_country(params$country) if (identical(params$type_map, "grid")) { draw_map_grid(occdata, bbox_country = bbox_country, resolution = params$resolution, categories = categories) } else if (identical(params$type_map, "occ")) { draw_map_occ(occdata, bbox_country = bbox_country, categories = categories) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.