Description Usage Arguments Value Note Author(s) References Examples
For a given detangler
object, spatial coordinates are anonymized accordingly.
1 2 |
data |
Can be either a 2 column |
tanglerInfo |
output from |
raster_object |
logical; If |
stub |
Character; A string of user-defined setting for establishing naming conventions. |
saveTangles |
logical; Save function output to file. Default is |
path |
character; Path to where outputs are saved. |
The transformed coordinates or raster object (dependent on input data).
Outputs can also saved to any specified directory with the hash key associated with the anonymization and user-defined stub in the file name. This will be saved as an .rds
file that will also have tanglerXY
in the file name.
tangles
is coordinate reference system agnostic. Anonymization will proceed regardless of whether data is in geographic or projected space. Anonymized coordinates will not exist in reality, but the spatial properties of the original data will be maintained.
Brendan Malone
CM O'Keefe, S Otorepec, M Elliot, E Mackey, and K O'Hara (2017) The De-Identification Decision Making Framework. CSIRO Reports EP173122 and EP175702.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | ## POINT DATA tangles
library(digest)
data("HV_subsoilpH")
str(HV_subsoilpH)
dat.xy<- HV_subsoilpH[,1:2]
xyData<- as.matrix(dat.xy)
# anonymize with 5 levels of abstraction
tangles.out<- tangles(data = xyData,
depth = 5,
rasterdata = TRUE,
raster_object = FALSE,
saveTangles = FALSE)
# tangle associated RASTER DATA
library(raster)
data("hunterCovariates_sub")
tangled.origi<- tangler(data = hunterCovariates_sub,
tanglerInfo = tangles.out[[2]],
raster_object = TRUE,
stub = "hv1",
saveTangles = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.