mapsEcuador
R package provide simple functions to create printer ready PDF Ecuador maps with your own data over a full customizable template.
No GIS knowledge is required. You need just provide data and geographic data will be internally added.
Internal base maps shape files were downloaded from: https://www.ecuadorencifras.gob.ec//documentos/web-inec/Cartografia/Clasificador_Geografico/2012/SHP.zip
You can install mapsEcuador R package from github with:
install.packages("devtools")
devtools::install_github("albuja/mapsEcuador")
Tips for newbies R Windows users:
- Download R from https://cran.r-project.org/bin/windows/base/ and install it
- Download RStudio from https://rstudio.com/products/rstudio/download/ and install it
- Download Rtools from https://cran.r-project.org/bin/windows/Rtools/ and install it
- Install
devtools
package usinginstall.packages("devtools")
- Install
mapsEcuador
package usingdevtools::install_github("albuja/mapsEcuador")
- Enjoy it!
This is simplest code needed to get a printer ready PDF Ecuador choropleth map with your own data, using all function default values.
library(mapsEcuador)
# Ecuador choropleth map with dummy data
values <- round(runif(24, 10, 1000), 3)
names(values) <- 1:24
choropleth_map_prov_pdf(values)