Skip to content

bfsMaps

1.99.4Package record

Plot Maps from Switzerland by Swiss Federal Statistical Office

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

Overview

About

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.

Changes in 1.99.4

NEW FUNCTIONS:

  • GeoCode() yields coordinates for an address using the GeoAdmin API

From NEWS in the release

Install

Health

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

none known

Documentation

In release 1.99.4
READMEYes · 10 wordsVignettesYes · 1 · staticNEWSYes · 33% structured · mentions 1.99.4Citation fileNoWebsitenot declared in DESCRIPTION
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%
Vignettes (1)

Downloads

3.9K
CRAN downloads in the past year
Rank #10,679 · ~11/day · ~327/mo
Daily download trend is not available in this view yet.
37730 days
96790 days
3.9K1 year
Compare downloads with other packages →
Also on118 r2u39 autocran

Repository

4Stars
0Forks
1Open issues
0Open PRs
0Releases
33Commits
3Commit identities
33 commits · Last activity 2025-07-23 · 0% stars, 30d
Responsiveness
How these are sampled
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

2024-03-19 · 32026-07-07 · 4
PracticesBeta

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.

Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)

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.

Depends (4)
R >= 4.1.0basestatsDescTools
Imports (4)
graphicsgrDevicessfhttr
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (2)
Author, Maintainer since 0.9.3 (2020)
Contributor · added in 0.9.6
Listed in earlier versions (1)
Jeffery S. Evans
no longer listed · 0.9.6 to 0.9.8
Releases (8)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.99.4Latest
    record
    2025-07-23 · current release · diff ↗ ·
    added 1 export
    GeoCode
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 1.99.3
    record
    2023-07-01 · diff ↗ ·
    removed 3 exports
    RequireMap, LoadMap, RemoveHoles
    added 2 exports
    PlotPremReg, GetMap
  • R
    R 4.3.0 released · 2023-04-21
  • 0.9.8
    record
    2022-10-09 · diff ↗
  • unarchivedReturned to CRAN
    2022-09-25
  • 0.9.7
    record
    2022-09-25 · diff ↗
  • archivedRemoved from CRAN
    2022-09-04
    issues were not corrected in time
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 0.9.6
    record
    2020-12-17 · diff ↗
  • 0.9.5
    record
    2020-12-09 · diff ↗ ·
    added 2 exports
    RemoveHoles, DownloadBfSMaps
  • R
    R 4.0.0 released · 2020-04-24
  • 0.9.4
    record
    2020-04-17 · diff ↗ ·
    added 1 export
    AddWaters
Show 2 earlier eventsHide 2 earlier events
  • 0.9.3
    record
    2020-03-26
  • R
    R 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")
Signorell, A., & Guggenbuehl, J. (2025). bfsMaps: Plot Maps from Switzerland by Swiss Federal Statistical Office (Version 1.99.4) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

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

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.

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