Gist 5053ebcce793d11bc765
✓ Published0🌍 Public
FFrieseWoudloper
Last edited Oct 18, 2015
Created on Oct 18, 2015
This example maps all Dutch municipalities in 2014, highlighting those with fewer than 20,000 residents in red on top of the full country outline. It uses the `rgdal` and `rgeos` libraries to read shapefile data from a ZIP downloaded from twiav.nl, then computes population density via `gArea()` and identifies the least dense municipality. The visualization shows a static choropleth-style base map with an overlaid selection, while also printing tabular summaries like counts per safety region and the names of the least dense area. It does not animate or use interactive frameworks, relying solely on base R plotting.
AI-generated description