make_tmap | R Documentation |
This function render a tmap using a shapefile (campania) as background and a table with coordinates for the points.
make_tmap(data, dotlegend, shp = campania, palette = NULL)
data |
A dataframe with the coordinates columns(UTM_33T_N and UTM_33T_E) and relative infos. |
dotlegend |
An informative column used for the legend and for the mapping of the dots (e.g. "Polifenoli_totali" or "Azienda"). |
shp |
A shapefile used for the background in the UTM 33T coordinate system. By default shp = campania (a shapefile saved in .rda format). |
palette |
A palette name from Color Brewer palettes. The default is NULL (means tmap decides which one to use). |
## Not run:
output$map1 = make_tmap(
data = data = dtdrupfilt(), dotlegend = showcolumnmap2()
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.