Learn R Programming

ggswissmaps (version 0.1.2)

shp_sf: A list with 8 'sf' objects of swiss territory boundaries, at various levels.

Description

Every element of the list is a 'sf' data frame, which can be used with 'ggplot2'.

Arguments

Format

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

Details

Every 'sf' data frame has a column "geometry", which is a list-column containing the boundaries of the polygons.

See the vignette (vignette("ggswissmaps_with_sf", package = "ggswissmaps")) for some examples.

Examples

Run this code
data(shp_sf)
class(shp_sf)
length(shp_sf)
names(shp_sf)
str(shp_sf[["g1k15"]])

Run the code above in your browser using DataLab