Skip to content
This repository has been archived by the owner on Nov 29, 2024. It is now read-only.
/ country-centroids Public archive

Country centroids based on data from geoBoundaries.org. Useful for bubble maps and arc maps.

License

Notifications You must be signed in to change notification settings

360-info/country-centroids

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Country centroids dataset

Country centroids based on the geoBoundaries.org ADM0 boundaries.

If you need to make a map where countries are represented by points (like a bubble map or an arc map), you'll want centroids!

This dataset is updated on the first of the month if new data is available, or otherwise when run manually.

Data

Two files are available:

If you don't want centroids that might be in the water for countries with several landmasses (like, say, Indonesia), use the former. Otherwise, use the latter.

Tip

Note that some non-country territories might be missing from this dataset. See data/README.md for more details.

♻️ Use + Remix rights

Creative Commons Attribution 4.0

Please acknowledge both 360info and geoboundaries.org when you use it.

Dependencies

Dependency lockfile is generated using the {capsule} package:

list.files("R", pattern = glob2rx("*.r"), full.names = TRUE) |>
  capsule::capshot()