We’ve finally arrived at creating our first maps based on the data we
imported and cleaned in the previous sessions. The focus of this first
session lies on the package tmap
to create maps.
In the second step, we want to visualize some information on the German districts contained in the attribute table. Choose a column of interest and create a map. Alternate the map by:
ger_map
.
Combine the following options with a plus sign:
tm_fill(col = "", title = "", palette = "") +
tm_layout(title = "", title.color = "") +
tm_legend(legend.outside = TRUE/FALSE, legend.outside.position = "")
style = ("cat", "fixed", "sd", "equal", "pretty", "quantile", "kmeans", "hclust", "bclust", "fisher", "jenks", "dpih", "headtails", log10_pretty", "cont")
colors()
, R returns the names of all built-in
colors.
<-
.