MyNixOS website logo
Description

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>.

R-CMD-check CRAN_Status_Badge Total_Downloads

Tangles

An R package for anonymisation of spatial point patterns and raster objects.

This package achieves the relatively simple, yet useful, task of spatial anonymisation. Anonymisation is needed in situations where a data owner may not wish to share the actual spatial locations of their data, but is happy to share transformed data in a way that still permits valid spatial analysis.

Anonymisation is achieved via three modes of spatial shifts:

  • Vertical shifts
  • Lateral shifts
  • Rotational shifts

The tangles package can entangle both non-gridded spatial point patterns and raster objects. It can also entangle data using a pre-defined entanglement sequence and can disentangle data back to their original spatial representations. Each entanglement process is given a unique hash key label to guarantee successful restoration of the original spatial structure.

📦 Package Installation

Install the development version of tangles from GitHub using the devtools package:

# Install devtools if you haven't already
install.packages("devtools")

# Install tangles
devtools::install_github("brendo1001/tangles")

📬 Contact

brendan.malone@csiro.au.

Metadata

Version

2.0.1

License

Unknown

Platforms (75)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-freebsd
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64-windows
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows