Offers Various Swiss Maps as Data Frames and 'ggplot2' Objects
Overview
Offers various swiss maps as data frames and 'ggplot2' objects and gives the possibility to add layers of data on the maps. Data are publicly available from the swiss federal statistical office. In addition to the \code{maps2} object (a list of 8 swiss maps, at various levels), there are the data frames with the boundaries used to produce these maps (\code{shp_df}, a list with 8 data frames).
- Merged pull request from @teunbrand (https://github.com/gibonet/ggswissmaps/pull/1): replaced
ggplot2::aes_string()(deprecated) withggplot2::aes()in functionmaps2_(). - Removed
plyr,reshape2anddata.tablefrom "Suggests". - Added
sfto "Suggests". - Moved
ggplot2from "Depends" to "Imports". - Added the 8 maps in
sfformat. - Added a vignette "
ggswissmapsdata withsf", with some examples of how to useggswissmapsdata insfformat. - Changed/corrected a broken url
Show all changes in 0.1.2Hide the rest of the changes in 0.1.2
- Added the argument caption to function maps2_(), with default value "Boundaries: BFS GEOSTAT / swisstopo". The caption will be included in the lower right corner of the map
From NEWS in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 6 (1 internal)includes a package overview page
- Examples that run
- 100%4 run in a plain check
- Exported functions with examples
- 67%
- Documented parameters
- 67%
- Return-value docs
- 0%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- not measured
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
6 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/gibonet/ggswissmaps on 2026-10-25.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2025-06-27 · The repository has a site deploy workflow
pkgdown site last built 2025-06-27
Dependencies
Code & Tests
Datasets
People & History
Maintainer since 0.0.2 (2014)
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.1.2Latest
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- 0.1.12016-10-29 · diff ↗
- 0.0.92016-09-20 · diff ↗
- RR 3.3.0 released · 2016-05-03
- 0.0.8
- 0.0.6
Show 3 earlier eventsHide 3 earlier events
- RR 3.2.0 released · 2015-04-16
- 0.0.22014-11-07
- RR 3.1.0 released · 2014-04-10
Package metadata
- First published
- 2014-11-07
- Total releases
- 6 / 12 yrs
- License
- GPL-2 OSI
- Minimum R
- ≥ 2.14
- Bundled data
- 867 KB / 2 files
- Download size
- 1.0 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("ggswissmaps")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.