Recent Releases of tmap
tmap - tmap 4.0
tmap v4 is a major release and has been rewritten from scratch. It contains tons of new features. Although we did our best to make changes backwards compatible, some things may not work as expected.
New syntax
- The arguments of layer functions such as
tm_symbols()have been reorganized. Visual variables are used with explicit scales, legends, and charts. - The names of visual variables are consistent across standard map layer functions. For vector data,
fillis the visual variable for fill color andcolfor border color. - New vignettes available to explain how to upgrade your code to tmap v4.
Updated datasets
rivershas been renamed toWorld_riversdue to the name clash withriversfromdatasets.- The Netherlands datasets have been updated: from 2022
NLD_prov,NLD_muni, and (new)NLD_dist(district level) have been included with new demographic variables. landhas included color tables
Extensions
- tmap can now be extended in several ways.
Backwards compatibility
- All tmap v3 code should be backwards compatible with v4.
- We added 'v3' styles to make the layout (almost) identical to v3
- We introduced messages to make it easier for you to upgrade your code
- R
Published by olivroy about 1 year ago