map_india {mapindiatools} | R Documentation |
Retrieve Indian mapping data
Description
Retrieve Indian mapping data
Usage
map_india(
regions = c("states", "state", "districts", "district"),
include = c(),
exclude = c()
)
Arguments
regions |
The region breakdown for the map, can be one of
( |
include |
The regions to include in the resulting map. If |
exclude |
he regions to exclude in the resulting map. If |
Value
An 'sf' data frame of indian map coordinates divided by the desired regions
.
Examples
str(map_india())
df <- map_india(regions = "districts")
include_states <- map_india(include = c("WB", "NL", "AP"))
exclude_states <- map_india(exclude = c("WB", "NL", "AP"))