Skip to content

ggswissmaps

0.1.2Package record

Offers Various Swiss Maps as Data Frames and 'ggplot2' Objects

0packages depend
3Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

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).

Changes in 0.1.2
  • Merged pull request from @teunbrand (https://github.com/gibonet/ggswissmaps/pull/1): replaced ggplot2::aes_string() (deprecated) with ggplot2::aes() in function maps2_().
  • Removed plyr, reshape2 and data.table from "Suggests".
  • Added sf to "Suggests".
  • Moved ggplot2 from "Depends" to "Imports".
  • Added the 8 maps in sf format.
  • Added a vignette "ggswissmaps data with sf", with some examples of how to use ggswissmaps data in sf format.
  • 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

CRAN checks
13OK
Slowest check: 2.2 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.1.2
READMEYes · 33 wordsVignettesYes · 2 · dynamicNEWSYes · 33% structured · mentions 0.1.2Citation fileNoWebsiteYes · pkgdown
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

3K
CRAN downloads in the past year
Rank #15,072 · ~8/day · ~253/mo
Daily download trend is not available in this view yet.
27730 days
81490 days
3K1 year
Compare downloads with other packages →
Also on80 r2u3 autocran

Repository

5Stars
3Forks
0Open issues
0Open PRs
2Releases
92Commits
3Commit identities
92 commits · Last activity 2025-06-27
Responsiveness
How these are sampled
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

2022-01-31 · 52026-07-07 · 5
PracticesBeta

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (3)
pkgdown

GitHub Pages site last deployed 2025-06-27 · The repository has a site deploy workflow

pkgdown site last built 2025-06-27

Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)

Installing ggswissmaps adds 17 packages (7 with compiled code, 14 MB of source tarballs). Heaviest: ggplot2 6.0 MB, isoband 1.5 MB, farver 1.2 MB.

Depends (1)
R >= 2.14
Imports (2)
utilsggplot2
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (3)
Author, Maintainer · added in 0.1.2
Author · added in 0.0.6
Contributor · added in 0.0.6

Maintainer since 0.0.2 (2014)

Listed in earlier versions (1)
no longer listed · 0.0.2 to 0.1.1
Releases (6)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.2Latest
    record
    2025-06-23 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • 0.1.1
    record
    2016-10-29 · diff ↗
  • 0.0.9
    record
    2016-09-20 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • 0.0.8
    record
    2016-02-13 · diff ↗ ·
    added 2 exports
    maps2, maps2_
  • 0.0.6
    record
    2015-12-21 · diff ↗ ·
    removed 1 export
    pattern:.
    added 1 export
    theme_white_f
Show 3 earlier eventsHide 3 earlier events
  • R
    R 3.2.0 released · 2015-04-16
  • 0.0.2
    record
    2014-11-07
  • R
    R 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")
Burri, S., Bottinelli, L., & Stephani, E. (2025). ggswissmaps: Offers Various Swiss Maps as Data Frames and 'ggplot2' Objects (Version 0.1.2) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for ggswissmaps version 0.1.2 [Data set]. HJJB, LLC. Data release v2026-10-26. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy