rk.map.globalities is a specialized spatial data downloader for RKWard. While its sibling plugin (rk.map.localities) focuses on high-resolution municipalities, this plugin focuses on the Big Picture: Continents, Subregions, and the World.
It leverages rnaturalearth to fetch country boundaries and includes a built-in Projection Engine to ensure your global maps look professional (e.g., Robinson or Winkel Tripel) rather than distorted.
Easily download specific parts of the world without needing to know complex ISO codes.
Raw spatial data usually comes in "Plate CarrΓ©e" (Lat/Lon), which makes the world look stretched at the poles. This plugin fixes that automatically.
remotes (Recommended)You can install this plugin directly from the repository using the remotes package in R.
local({
## Preparar
require(remotes)
## Computar
install_github(
repo="AlfCano/rk.map.globalities"
)
## Imprimir el resultado
rk.header ("Resultados de Instalar desde git")
})
System Requirements:
This plugin relies on the sf package. On Linux (Ubuntu/Debian), ensure you have the system libraries installed:
sudo apt-get install libudunits2-dev libgdal-dev libgeos-dev
The interface is fully localized to match your RKWard language settings:
es)fr)de)pt_BR)Once installed, find the tool under:
Plots -> Maps -> Download -> Download Global/Regional Maps
world_map).Scenario: Creating a "Digital Access" Choropleth map of the World in Robinson projection.
Whole World.Checked.Robinson (Standard World Map).world_robinson.Since we need data to plot, run this in the R Console to generate fake values for the countries we just downloaded.
# Extract names from the downloaded map to ensure matching
if (exists("world_robinson")) {
set.seed(2025)
world_fake_data <- data.frame(
Country_Name = world_robinson$name,
Digital_Index = runif(nrow(world_robinson), min = 5, max = 98)
)
}
This plugin pairs perfectly with the Plot Continuous Map tool from rk.rnaturalearth.
Open Plots -> Maps -> Plot Continuous Map.
Map Object: world_robinson.
Map Id Column: name.
Data Frame: world_fake_data.
Region Name Column: Country_Name.
Value Column: Digital_Index.
Click Submit.
rnaturalearth (Data source)sf (Spatial transformation)dplyr (Filtering)