Thanks to visit codestin.com
Credit goes to github.com

Skip to content

❗ This is a read-only mirror of the CRAN R package repository. mapindiatools — Mapping Data for 'mapindia' Package. Homepage: https://github.com/shubhamdutta26/mapindiatools Report bugs for this package: https://github.com/shubhamdutta26/mapindiatools/issues

License

Notifications You must be signed in to change notification settings

cran/mapindiatools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mapindiatools

R-CMD-check Codecov test coverage

The goal of mapindiatools is to serve as a container package for the maps data used in mapindia package. This data has been separated to keep the size of the mapindia package manageable and facilitate easier maintenance, while enabling more frequent updates to the Indian map data frame without relying on mapindia package updates.

Map data

The geojson files are stored in the data-raw/geojson_files folder. These files were read and appropriately modified using the build_mapping_data() function and saved as gpkg files in the inst/extdata folder. The centroids were also calculated using the compute_centroids() function.

Note: The 3-digit code11 codes for districts were merged with the 2-digit state codes to create a 5-digit code for the districts.

Installation

You can install the development version of mapindiatools from GitHub with:

# install.packages("pak")
pak::pak("shubhamdutta26/mapindiatools")

Usage

To begin using mapindiatools, import the package using the library command:

library(mapindiatools)

Acknowledgments

I would like to thank pdil since I have used his usmap package to write most of this package. I would also like to thank datta07 for the geojson files.

About

❗ This is a read-only mirror of the CRAN R package repository. mapindiatools — Mapping Data for 'mapindia' Package. Homepage: https://github.com/shubhamdutta26/mapindiatools Report bugs for this package: https://github.com/shubhamdutta26/mapindiatools/issues

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages