maps2: A list with 8 'ggplot2' objects of swiss territory...

maps2R Documentation

A list with 8 'ggplot2' objects of swiss territory boundaries, at various levels.

Description

Every element of the list is a 'ggplot2' graphic, corresponding to an element of shp_df.

Usage

maps2

Format

A list with 8 data frames with swiss territory boundaries (at various levels).

Details

Columns are not all the same across data frames, but usually they have the following in common:

  • long. Longitude coordinate (x)

  • lat. Latitude coordinate (y)

  • group. A factor to be used to plot the polygons correctly (with ggplot2)

Source

https://data.geo.admin.ch/browser/index.html#/collections/ch.bfs.historisierte-administrative_grenzen_g1?.language=en. Download date: 2015-08-18

Examples

class(maps2)
length(maps2)
names(maps2)
# str(maps2[["g1k15"]])

# By name
maps2[["g1k15"]]

# By index
maps2[[5]]

ggswissmaps documentation built on June 23, 2025, 5:09 p.m.