Plot Maps from Switzerland by Swiss Federal Statistical Office
Overview
At the Swiss Federal Statistical Office (SFSO), spatial maps of Switzerland are available free of charge as 'Cartographic bases for small-scale thematic mapping'. This package contains convenience functions to import ESRI (Environmental Systems Research Institute) shape files using the package 'sf' and to plot them easily and quickly without having to worry too much about the technical details. It contains utilities to combine multiple areas to one single polygon and to find neighbours for single regions. For any point on a map, a special locator can be used to determine to which municipality, district or canton it belongs.
NEW FUNCTIONS:
- GeoCode() yields coordinates for an address using the GeoAdmin API
From NEWS in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 16includes a package overview page
- Examples that run
- 83%10 run in a plain check · 2 never run
- Exported functions with examples
- 77%
- Documented parameters
- 89%
- Return-value docs
- 92%
- Help pages citing references
- 6%
Downloads
Repository
- PRs merged (all time)
- not measured
- Median days to close, 50 most recently updated closed issues
- 145
- Median days to close, 50 most recently updated closed PRs
- not measured
Stars over time
Issues over time
1 development-tooling and community-health practice detected across 1 family in the upstream repository
Checks run against github.com/andrisignorell/bfsmaps on 2026-10-18.
Dependencies
Installing bfsMaps adds 55 packages (37 with compiled code, 41 MB of source tarballs). Heaviest: sf 9.3 MB, data.table 5.7 MB, s2 2.8 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 1.99.4Latest
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 1.99.32023-07-01 · diff ↗ ·
removed 3 exports
RequireMap, LoadMap, RemoveHolesadded 2 exports
PlotPremReg, GetMap - RR 4.3.0 released · 2023-04-21
- 0.9.82022-10-09 · diff ↗
- unarchivedReturned to CRAN2022-09-25
- 0.9.72022-09-25 · diff ↗
- archivedRemoved from CRAN2022-09-04issues were not corrected in time
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 0.9.62020-12-17 · diff ↗
- 0.9.5
- RR 4.0.0 released · 2020-04-24
- 0.9.4
Show 2 earlier eventsHide 2 earlier events
- 0.9.32020-03-26
- RR 3.6.0 released · 2019-04-26
Package metadata
- First published
- 2020-03-26
- Total releases
- 8 / 6 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 4.1.0
- Bundled data
- 47 KB / 2 files
- Download size
- 1.0 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("bfsMaps")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-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.