Statistical Disclosure Control for Spatial Data
Overview
Privacy protected raster maps can be created from spatial point data. Protection methods include smoothing of dichotomous variables by de Jonge and de Wolf (2016) doi:10.1007/978-3-319-45381-1_9, continuous variables by de Wolf and de Jonge (2018) doi:10.1007/978-3-319-99771-1_23, suppressing revealing values and a generalization of the quad tree method by Suñé, Rovira, Ibáñez and Farré (2017) doi:10.2901/EUROSTAT.C2017.001.
- Fixed
max_zoomlevel specification issue #12 forprotect_quadtree.
max_zoom = 2 resulted earlier in max_zoom = 1. Thanks to Martin Moehler (@mamoeh).
- Added earlier stopping criterion for
protect_quadtree. Thanks to Martin Moehler (@mamoeh). - fixed a bug in
protect_quadtreethat caused an invalid sensitive count (scale), issue #14. Thanks to Martin Mohler (@mamoeh). - fixed a bug in
protect_quadtreethat was caused sometimes by raster::cover in which the names of the layers were dropped. Thanks to Michael Buchner - fixed documentation links (to
raster)
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 22 (3 internal)includes a package overview page
- Examples that run
- 29%4 run in a plain check · 9 only when donttest examples are enabled (R CMD check --as-cran) · 1 hold no code
- Exported functions with examples
- 80%
- Documented parameters
- 96%
- Return-value docs
- 60%
- Help pages citing references
- 18%
Downloads
Repository
- PRs merged (all time)
- not measured
- Median days to close, 50 most recently updated closed issues
- 63
- Median days to close, 50 most recently updated closed PRs
- not measured
Stars over time
Forks over time
Issues over time
8 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/edwindj/sdcspatial on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2025-03-17 · The repository has a site deploy workflow
Dependencies
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 0.6.1Latest
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 0.5.22022-03-24 · diff ↗ ·
added 6 exports
is_sensitive_at, mask_grid, mask_random, mask_voronoi, mask_weighted_random, protect_neighborhood - RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- 0.1.12019-07-19 · diff ↗
- 0.1.02019-07-03
- RR 3.6.0 released · 2019-04-26
Package metadata
- First published
- 2019-07-03
- Total releases
- 4 / 7 yrs
- License
- GPL-2 OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 995 KB / 2 files
- Download size
- 1.8 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("sdcSpatial")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-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.