Learn R Programming

⚠️There's a newer version (3.9-1) of this package.Take me there.

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/Epiconcept-Paris/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')

Monthly Downloads

121

Version

3.7-1

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Jean Pierre Decorps

Last Published

June 26th, 2019

Functions in GADMTools (3.7-1)

choropleth

Draw a choropleth on selected regions
GADM36SF

data.frame of maps provided by gadm_org)
gadm_remove

Remove one or more regions from a map
propDots

Plot proportionnal circles (dots) on a map
listNames

List the region names for a specific administrative level
gadm_plot

Draw a gadm_sf or gadm_sp object
dotDensity

Multivariate Dot-Density maps
gadm_sp_loadCountries

Load one or more GADM shapefiles (SpatialPolygonsDataFrame)
gadm_getBbox

get the bounding box of the map
stripSP

Strip a gadm_sp object
gadm_subset

Extract regions
gadm_showNorth

display a north arrow on a plot
gadm_showScale

display a scale on a plot
gadm_union

Merges regions
gadm_removeBackground

Removes the background of a map
gadm_sf_loadCountries

Load one or more GADM shapefiles
gadm_saveStripped

Save a stripped GADM object
strippedExists

Test if a stripped gadm_sp object exists
grid.map

Arrange maps on a grid
vignette

Create a vignette
saveAs

Save your own GADM shapefile as an rds file
gadm_crop

crop a region to a specific rectangle
saveAsStripped

Strip a gadm_sp object
isopleth

Draw an isopleth on selected regions
json.choropleth

Create a geojson choropleth of selected regions.
GADMTools-package

Easy use of GADM shapefiles
Corsica

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

Plot dots on a map
fast.choropleth

Draw a choropleth on selected regions with lattice.
gadm_loadStripped

Load one GADM stripped shapefile
classDots

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

Gets tiles with 'rosm' from OpenStreetMap
gadm_longTo360

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