Learn R Programming

maps (version 3.3.0)

world.legacy: Legacy world map DEPRECATED

Description

A function to switch the "world" map to the old (1990) version and back.

Usage

world.legacy(wl=FALSE)

Arguments

wl

Set to TRUE to switch to the old world map. Set FALSE to switch back to the new map. In either case, the old legacy map can always be reached as legacy_world.

Details

This function is DEPRECATED!

This function switches the "world" database to the old (1990) version. It is provided temporarily for cases where the new updated world map causes problems. In this way, code may run unchanged and still use the legacy world data base. It is highly recommended, though, to use this possibility only as a last resource. Addressing mapdata::worldLores directly or updating code to use the new data base is the recommended option.

The new version is updated to about 2013, so has many new countries that did not exist in 1990 (e.g. in Central and Eastern Europe).

This function will be removed from the maps package in future releases. The legacy world database remains available as worldLores from the mapdata package.

See Also

map,world,legacy_world