mapDK: Maps of Denmark

Description Usage Arguments Value Author(s) See Also Examples

Description

Create quick and beautiful maps of Denmark at different levels of geographic detail

Usage

1
2
3
mapDK(values = NULL, id = NULL, data, detail = "municipal",
  show_missing = TRUE, sub = NULL, sub.plot = NULL, guide.label = NULL,
  map.title = NULL, map.fill = "gray92", map.colour = "black")

Arguments

values, id

String variables specifying names of value and id columns in the dataset

data

A data frame of values and ids

detail

A string specifying the detail level of the map

show_missing

A logical scalar. Should missing values (including NaN) be showed?

sub

A vector of strings specifying subregions to be plotted

guide.label

A string with custom label name

map.title

A string with map title

Value

A ggplot class object

Author(s)

Sebastian Barfort (sebastianbarfort@gmail.com)

See Also

https://github.com/sebastianbarfort/mapDK

Examples

1
2
3
mapDK(detail = "polling")
mapDK(detail = "zip")
mapDK(values = "indbrud", id = "kommune", data = crime)

sebastianbarfort/mapDK documentation built on May 29, 2019, 4:57 p.m.