district_map | R Documentation |
Create a District Map
district_map(
main_df = nepalmap::district_df,
data = nepalmap::district_val,
fill = "id",
label = "district",
color = "white",
x = "lat",
y = "long",
size = 1,
legend = ""
)
main_df |
The main data frame for creating the map border of district |
data |
The data used for value inputs |
fill |
The color fill shown inside the map |
label |
The label for the province |
color |
The border color |
x |
The latitude by default |
y |
The longitude by default |
size |
Size of label text, 1 by default |
legend |
Legend is empty by default |
a ggplot2 object
## Not run:
district_map()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.