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://www.bfs.admin.ch/bfs/fr/home/services/geostat/geodonnees-statistique-federale/limites-administratives/limites-communales-generalisees.html. Download date: 2015-08-18

Examples

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

# By name
maps2[["g1k15"]]

# By index
maps2[[5]]

gibonet/ggswissmaps documentation built on March 27, 2024, 5:35 p.m.