nor_xxx_position_title_insert_oslo_b2024_insert_oslo_dt {csmaps}R Documentation

Position of a title for the Oslo insert

Description

Position of a title for the Oslo insert

Usage

nor_xxx_position_title_insert_oslo_b2024_insert_oslo_dt

nor_xxx_position_title_insert_oslo_b2020_insert_oslo_dt

nor_xxx_position_title_insert_oslo_b2019_insert_oslo_dt

nor_xxx_position_title_insert_oslo_b2017_insert_oslo_dt

Format

long

Location code.

lat

Location name.

An object of class data.table (inherits from data.frame) with 1 rows and 2 columns.

An object of class data.table (inherits from data.frame) with 1 rows and 2 columns.

An object of class data.table (inherits from data.frame) with 1 rows and 2 columns.

Examples

# 2020 borders
library(ggplot2)
q <- ggplot(mapping = aes(x = long, y = lat))
q <- q + geom_polygon(
  data = csmaps::nor_municip_map_b2020_insert_oslo_dt,
  mapping = aes(group = group),
  color = "black",
  fill = "white",
  linewidth = 0.2
)
q <- q + annotate(
  "text",
  x = csmaps::nor_xxx_position_title_insert_oslo_b2020_insert_oslo_dt$long,
  y = csmaps::nor_xxx_position_title_insert_oslo_b2020_insert_oslo_dt$lat,
  label = "Oslo"
)
q <- q + theme_void()
q <- q + coord_quickmap()
q

[Package csmaps version 2023.5.22 Index]