An R package of compiled World Bank shapefiles for world maps.
Some journals (e.g. PLoS) require base map data that has an unambiguous CC-BY-4.0 license.
At the same time, many analysts want shapefiles with up-to-date territory boundaries (provded as world
as an sf
object), ISO3 codes (provided as iso3
in world
) to link in country data, and county barycentres for plotting points (provided as mid
in world
).
The underlying data here is taken from World Bank data, which does have a CC-BY license. Disputed territories such as Western Sahara are included.
This can be installed using devtools with
devtools::install_github('petedodd/wbmapdata')
or similar from within R.
This work is licensed under a Creative Commons Attribution 4.0 International License