Description Usage Arguments Value Examples
View source: R/map_indicator.R
Produce a satellite map for a BCU, along with the values for a supplied indicator.
1 | map_indicator(bcu, tile, indicator = NA, indicator_title = indicator, bcu_ext)
|
bcu |
Indicator data for a single BCU, from |
tile |
Bing tile for a single BCU, from |
indicator |
Indicator being mapped |
indicator_title |
Longer-form title for indicator being mapped, used in creating the map title. Defaults to |
bcu_ext |
Extension factor of the BCU's bounding box, from |
A tmap
object
1 2 3 4 5 6 7 8 9 | bcu_name <- "Aceh"
bcu <- readRDS(here::here("data", "bcus_list.rds"))[[bcu_name]]
tile <- readRDS(here::here("data", "bcus_tiles_indicator.rds"))[[bcu_name]]
bcu_ext <- readRDS(here::here("data", "bcus_ext.rds"))[[bcu_name]]
map_indicator(bcu, tile,
indicator = "grav_NC",
indicator_title = "Fishing: Market Pressure", bcu_ext
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.