Learn R Programming

tmap (version 4.0)

Thematic Maps

Description

Thematic maps are geographical maps in which spatial data distributions are visualized. This package offers a flexible, layer-based, and easy to use approach to create thematic maps, such as choropleths and bubble maps.

Copy Link

Version

Install

install.packages('tmap')

Monthly Downloads

19,414

Version

4.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Martijn Tennekes

Last Published

January 27th, 2025

Functions in tmap (4.0)

World_rivers

Spatial data of rivers
qtm

Quick thematic map plot
shapeTM

Internal tmap function to create a tmap shape
renderTmap

Wrapper functions for using tmap in shiny
get_fact_levels_na

Internal tmap function that gets factor levels with NA's
tm_basemap

Map layer: basemap / overlay tiles
tm_chart

Legend charts
print.tmap

Draw thematic map
reexports

Objects exported from other packages
print.tm_element

Print tm_element
tm_lines

Map layer: lines
tm_iso

Map layer: iso (contour)
tm_credits

Map component: (credits) text
tm_legend

Legend
tm_graticules

Coordinate grid / graticule lines
tm_place_legends_right

tmap layout: helper functions
tm_facets

Specify facets
tm_group

Layer group control
tm_crs

Set the map projection (CRS)
tm_style

Layout options
tm_plot_order

Determine plotting order of features
tm_logo

Map component: logo
tm_rgb

Map layer: rgb images
tm_pos

Set the position of map components
tm_raster

Map layer: raster
tm_minimap

Map component: minimap
tm_mouse_coordinates

Map component: mouse coordinates
tm_polygons

Map layer: polygons
tm_plot

Plot mode options
tm_options

tmap options
tm_scale_asis

Scales: as is
tm_scale

Scales: automatic scale
tm_scale_rgb

Scales: RGB
tm_scale_continuous

Scales: continuous scale
tm_scale_rank

Scales: rank scale
tm_scale_bar

Map component: scale bar
tm_scale_bivariate

Scales: bivariate scale
tm_scale_intervals

Scales: interval scale
tm_scale_ordinal

Scales: categorical and ordinal scale
tm_scale_discrete

Scales: discrete scale
tm_sf

Map layer: simple features
tm_scalebar

Map component: scale bar
tm_shape

Shape (spatial object) specification
tm_title

Map component: title
tm_view

View mode options
tm_symbols

Map layer: symbols
tm_vars

tmap function to specify variables
tmap_format

Deprecated: format
tm_text

Map layer: text
tmapSplitShp

Internal method that split shape objects
tm_seq

Specify a numeric sequence
tmapSubsetShp

Internal method that subsets data from shape objects
tmapGetShapeMeta1

Internal method that extracts meta data from shape objects
tmap-package

Thematic Map Visualization
tmapAddLayerOptions

Internal tmap function to add a default value for the layer functions
tmapGetShapeMeta2

Internal method that extracts more meta data from shape objects
tmapShape

Internal method that processed shape objects
tm_xlab

Map: x and y labels
tmap-element

Stacking of tmap elements
tmapMode

Internal method for submitting a new mode
tmap_icons

Specify icons
.TMAP

Internal methods for tmap extensions
tmap_mode

Set tmap mode to static plotting or interactive viewing
tmap_design_mode

Set the design mode
tmap_animation

Create animation
tmap_last

Retrieve the last map to be modified or created
tmap_leaflet

Export tmap to the format of the used graphics mode
tmap_arrange

Arrange small multiples in grid layout
tmap_devel_mode

Set the development mode
tmap_save

Save tmap
tmap_style

Set or get the default tmap style
tm_check_fix

tmap options
tmap_tip

Print a random tip to the console
tmap_style_catalogue

Create a style catalogue
NLD_prov

Netherlands datasets
get_scale_defaults

Internal tmap function get scale values
land

Spatial data of global land cover
World

World dataset
make_by_vars

Internal tmap function to create by variables (used for faceting)
tm_const

tmap function to define a constant visual value
tm_compass

Map component: compass
theme_ps

ggplot2 theme for proportional symbols
tm_add_legend

Map component: manual legend
metro

Spatial data of metropolitan areas