Learn R Programming

GADMTools

Downloads


GADMTools is an R package to manipulate shapefiles from GADM and to make geo-statistical representations easily. It supports SpatialPolygonsDataFrame and sf (Simple Features) formats from GADM database.

GIT: https://github.com/IamKDO/GADMTools

GADM

GADM is a spatial database of the world's adminstrative boundaries for use in GIS and similar software. Administrative areas in this database are countries and lower level subdivisions such as provinces, departments, cantons, etc. Please, visit gadm.org

NB: https://gadm.org is not the creator nor the maintener nor responsable of GADMTools

Easy use of GADM shapefiles

With GADMTools, a wrapper for GADM shapefiles, you can easily manipulate, assemble, create subsets of these objects and plot statistics on the final maps.

Copy Link

Version

Install

install.packages('GADMTools')

Version

3.9-1

License

GPL-3

Issues

Pull Requests

Stars

Forks

Last Published

August 5th, 2021

Functions in GADMTools (3.9-1)

GADMTools-package

Easy use of GADM shapefiles
choropleth

Draw a choropleth on selected regions
gadm_saveStripped

Save a stripped GADM object
gadm_crop

crop a region to a specific rectangle
json.choropleth

Create a geojson choropleth of selected regions.
isopleth

Draw an isopleth on selected regions
gadm_exportToShapefile

Export to ESRI Shapefile
dotDensity

Multivariate Dot-Density maps
grid.map

Arrange maps on a grid
stripSP

Strip a gadm_sp object
gadm_union

Merges regions
strippedExists

Test if a stripped gadm_sp object exists
gadm_remove

Remove one or more regions from a map
gadm_sf_import_shp

read and import a file in shapefile format
gadm_plot

Draw a gadm_sf or gadm_sp object
gadm_removeBackground

Removes the background of a map
gadm_getBbox

get the bounding box of the map
gadm_showNorth

display a north arrow on a plot
propDots

Plot proportionnal circles (dots) on a map
listNames

List the region names for a specific administrative level
gadm_showScale

display a scale on a plot
gadm_sf_loadCountries

Load one or more GADM shapefiles
gadm_sp_loadCountries

Load one or more GADM shapefiles (SpatialPolygonsDataFrame)
gadm_subset

Extract regions
saveAsStripped

Strip a gadm_sp object
saveAs

Save your own GADM shapefile as an rds file
vignette

Create a vignette
classDots

Plot dots on a map with values between different fixed classes.
Corsica

Map of Corse (FRA) @ level 4 (Cantons)
gadm_loadStripped

Load one GADM stripped shapefile
gadm_longTo360

Converts longitudes from -180<U+00B0> - 0<U+00B0> - 180<U+00B0> to 0<U+00B0> - 360<U+00B0>
GADM36SF

data.frame of maps provided by gadm_org)
dots

Plot dots on a map
fast.choropleth

Draw a choropleth on selected regions with lattice.
gadm_getBackground

Gets tiles with 'rosm' from OpenStreetMap