countryatlas 3.0.0

The whole of the roadmap tracked in #19, in one release. 46 new exports and two new datasets take the package from “join World Bank data to a map” to “join anyone’s data, to the map as it was in 1950, and say honestly what the picture does and does not support”.

The version is 3.0.0 rather than 2.1.0 because three things change behaviour for existing code: world_map(projection = "mercator") now produces a different (and usable) map, morans_i() returns two more columns, and geom_country_labels() takes data as its second argument. Details under Breaking changes.

Breaking changes

Bug fixes

Five defects found by auditing 2.0.1; three produced a wrong or unusable picture rather than an error.

Spatial statistics: weights first

morans_i() shipped with one hard-wired weight scheme, land-border contiguity. An island has no land border, so Japan, the United Kingdom, Australia, Indonesia, Madagascar, New Zealand, the Philippines, Iceland and every small island state carried no weight and left the analysis – 49 of the 191 countries with data in world_snapshot. The omission is systematic, not random.

Data sources beyond the World Bank

A contract, not N bespoke fetchers.

Time

Honesty as a feature

Honesty, continued

Projections you can interrogate

Provenance

Flows, reporting and subnational

Cartograms, projections and renderers

Deprecations

Other changes

countryatlas 2.0.1

A patch release. The only behaviour change is to a test and to where an optional DuckDB connection keeps its state; nothing in the package’s own API moves.

CRAN check failures

Housekeeping

countryatlas 2.0.0

A major release that wires countryatlas into the database-rendering world via ‘ggsql’, widens the map vocabulary, and fixes several correctness issues found by auditing 1.0.0. The version is bumped to 2.0.0 because the bug fixes change the output of world_map() (quantile binning), bubble_map() / flow_map() (de-duplicated symbols), geom_country_labels() (label placement) and convert_country() (override-only entities), so code that depended on the old behaviour may see different maps or values.

New: database-side rendering with ggsql

New: maps, projections and helpers

New: historical entities, inequality and spatial statistics

Bug fixes

Housekeeping

countryatlas 1.0.0

A single, comprehensive release that takes the package from a one-function proof of concept to a complete toolkit for joining world data to maps. The spirit is unchanged (ISO codes as the universal join key, one call to a map-ready table) but pushed to its full potential.

Breaking-ish changes

New: core data assembly

New: the join engine (exposed for your data)

New: diagnostics

New: reference data & translation

New: analysis helpers

New: visualization

Performance & offline

Engineering

Group memberships in country_groups_tbl are point-in-time as of 2024-01-01.

countryatlas 0.1.0