pkgdown/mathjax-config.html

Skip to contents

An sf object containing country polygons from Natural Earth (1:50m scale) with pre-calculated bounding boxes for area of effect analysis.

Usage

countries

Format

An sf data frame with 237 rows and 9 variables:

iso2

ISO 3166-1 alpha-2 country code (e.g., "FR", "BE")

iso3

ISO 3166-1 alpha-3 country code (e.g., "FRA", "BEL")

name

Country name

continent

Continent name

bbox

Original bounding box (xmin, ymin, xmax, ymax) in Mollweide

bbox_equal_area

AoE bounding box at scale sqrt(2)-1 (equal areas)

bbox_equal_ray

AoE bounding box at scale 1 (equal linear distance)

halo_equal_area_scale

Scale factor that produces halo area = country area (with land mask)

geometry

Country polygon in WGS84 (EPSG:4326)

Source

Natural Earth https://www.naturalearthdata.com/

Examples

# Get France
france <- countries[countries$iso3 == "FRA", ]

# Use directly with aoe()