Skip to content

SMMT

1.2.0

The Swiss Municipal Data Merger Tool Maps Municipalities Over Time

0packages depend
2.8Kdownloads / year
28.0%test coverage
13/13checks pass

Overview

About
Maintained by Valentin KnechtlFirst published 2020-06-296 releasesCRAN page ↗GitHub ↗

In Switzerland, the landscape of municipalities is changing rapidly mainly due to mergers. The Swiss Municipal Data Merger Tool automatically detects these mutations and maps municipalities over time, i.e. municipalities of an old state to municipalities of a new state. This functionality is helpful when working with datasets that are based on different spatial references. The package's idea and use case is discussed in the following article: doi:10.1111/spsr.12487.

Install

Health

CRAN checks
13OK
Slowest check: 1.9 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 0.15
28.0%
Coverage · measured lines
100%
Documentation · exports
6
Dependencies · direct
Check history
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
90%
References docs
0%

Downloads

2.8K
CRAN downloads in the past year
Rank #16,333 · ~8/day · ~233/mo
Daily download trend is not available in this view yet.
19130 days
70190 days
2.8K1 year
Compare downloads with other packages →
Also on97 r2u31 autocran

Repository

Repository
6Stars
1Forks
1Open issues
0Open PRs
1Releases
62Commits
1Contributors
switzerlandmunicipalitiesdata-managementrcranstatistics
62 commits · Last activity 2024-05-19 · 0% stars, 30d

Stars over time

2023-05-25 · 42026-07-07 · 6

Repository practices

Upstream repositoryBeta

Checks run against github.com/valvaletl/smmt on 2026-07-19.

No development-tooling practices detected in the upstream repository.

How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
10 external dependencies (excludes base and recommended)
Depends (0)
none
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Code Composition
R 829 (54%)Rd 474 (31%)Vignettes 239 (15%)
Code characteristics
Cyclomatic complexity
2.0 median / 8 max
Test cases
4 / 0.15 per code line

Test coverage

Line coverage

28%

Expression

24.5%

Tests / Examples

28.0% / 48% ex

Functions

11 10 exported

Complexity

3.3 avg / 8 max

Call network

11 nodes / 9 edges

Loading call graph…

Lowest coverage

11 functions
FunctionCycloCoverage
date_of_last_update exp10%
download_municipality_inventory exp30%
map_old_to_new_state exp80%
most_recent_changes exp10%
municipality_counter exp60%
mutation_count exp30%

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

6 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 1.2.0Latest
    2024-05-20 · current release · diff ↗
  • 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
  • 1.1.0
    2022-04-03 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 1.0.7
    2021-02-20 · diff ↗
  • 1.0.5
    2020-11-23 · diff ↗
  • 1.0.2
    2020-07-16 · diff ↗
  • 1.0.1
    2020-06-29
  • R
    R 4.0.0 released · 2020-04-24

Package metadata

First published
2020-06-29
Total releases
6 / 6 yrs
License
GPL-3 OSI
Download size
300 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →