district_map: Create a District Map

View source: R/map.R

district_mapR Documentation

Create a District Map

Description

Create a District Map

Usage

district_map(
  main_df = nepalmap::district_df,
  data = nepalmap::district_val,
  fill = "id",
  label = "district",
  color = "white",
  x = "lat",
  y = "long",
  size = 1,
  legend = ""
)

Arguments

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

Value

a ggplot2 object

Examples


## Not run: 

district_map()


## End(Not run)


rugnepal/nepalmap documentation built on March 20, 2023, 10:26 a.m.