View source: R/tbd_static_map_mi.R
tbd_static_map_mi | R Documentation |
df : The data frame must contain a name column (county or PIHP or CMHSP names) and summary column
i.e... summarized number.
map_type : Basic map with county or PIHP or CMHSP boundaries is drawn based on the map_type argument,
Valid values are county, pihp, cmhsp, tract.
col_palette : Choose a color palette of any choice to populate the summarized data.
add tiles : Add a tile layer from a known map provider.
border_col : Fill border color.
legend_label : Label of the legend.
tbd_static_map_mi(
df,
map_type,
col_pallet = "viridis",
addtiles = "Stamen.TonerLite",
border_col = "white",
legend_label = "range"
)
df |
A dataframe |
map_type |
A map type (Available map types are tract, county, cmhsp, pihp) |
col_pallet |
A color pelette |
addtiles |
A provider tile |
border_col |
Prefered border color |
legend_label |
Prefered label of the legend |
## Not run:
tbd_static_map_mi(
df = dataframe,
map_type = county,
col_pallet = "viridis",
addtiles = "Stamen.TonerLite",
border_col = "white",
legend_label = "range")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.