tangles: Anonymisation of Spatial Point Patterns and Grids

Methods for anonymisation of spatial datasets while preserving spatial structure and relationships. Original coordinates or raster geometries are transformed using randomized or predefined vertical shifts, horizontal shifts, and rotations. Compatible with point-based data in 'matrix', 'data.frame', or 'sf' formats, as well as 'terra' raster objects. Supports reversible anonymisation workflows, hash-based validation, shapefile export, and consistent tangling across related datasets using stored transformation sequences. Approach informed by the De-Identification Decision Making Framework (CM O’Keefe, S Otorepec, M Elliot, E Mackey, and K O’Hara 2017) <doi:10.4225/08/59c169433efd4>.

Version: 2.0.1
Depends: R (≥ 4.0)
Imports: terra, sf, digest
Suggests: knitr, rmarkdown, testthat
Published: 2025-06-02
DOI: 10.32614/CRAN.package.tangles
Author: Brendan Malone [aut, cre]
Maintainer: Brendan Malone <brendan.malone at csiro.au>
License: GPL-2
NeedsCompilation: no
Materials: README NEWS
CRAN checks: tangles results

Documentation:

Reference manual: tangles.pdf
Vignettes: Anonymisation of Spatial Point Patterns and Raster Objects. (source, R code)

Downloads:

Package source: tangles_2.0.1.tar.gz
Windows binaries: r-devel: tangles_2.0.1.zip, r-release: tangles_2.0.1.zip, r-oldrel: tangles_2.0.1.zip
macOS binaries: r-release (arm64): tangles_2.0.1.tgz, r-oldrel (arm64): tangles_2.0.1.tgz, r-release (x86_64): tangles_2.0.1.tgz, r-oldrel (x86_64): tangles_2.0.1.tgz
Old sources: tangles archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=tangles to link to this page.