Description Usage Arguments Value Examples
Helper function to generate CartoCSS rules for processing rasters using Mapnik
1 | genCartoCSS(var, pal = "BuGn", legend = TRUE, ...)
|
var |
character arry of HarvestChoice indicator code(s) |
pal |
optional Brewer color palette name used for plotting |
legend |
if TRUE returns HarvestChoice legend, otherwise returns default legend |
... |
any argument passed to |
iso3 |
optional country or region filter (3-letter code) |
character array of CartoCSS snippet for indicator(s) var
1 2 | # CartoCSS for soil organic carbon and cassava value of production
genCartoCSS(c("soc_d5", "cass_v"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.