fetch_codes {mapindiatools} | R Documentation |
Retrieve state and district codes
Description
Retrieve state and district codes
Usage
fetch_codes(regions = c("states", "state", "districts", "district"))
Arguments
regions |
The region breakdown for the map, can be one of
( |
Value
An data frame of codes of the desired regions
.
Examples
str(fetch_codes())
state_codes <- fetch_codes()
district_codes <- fetch_codes(regions = "districts")
[Package mapindiatools version 1.0.1 Index]