Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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


maps

Draw Geographical Maps

v3.3.0
GPL-2
Authors
Original S code by Richard A. Becker and Allan R. Wilks. R version by Ray Brownrigg. Enhancements by Thomas P Minka and Alex Deckmyn.
Initial release
2018-04-03

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.