Description Usage Arguments Value Note Author(s) References Examples
Anonymized spatial data can be reverted back to their original coordinates with a given detangler object. For correct re-identification, there is an assumed match in the hash key between anonymized data and detangler object.
1 2 3 |
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. |
hash_key |
Character; A string of the hash key that was used for the original anonymization. |
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 be saved to any specified directory with the hash key associated with the detangler
object and user-defined stub in the file name. This will be saved as an .rds
file.
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 | ## 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)
# detangle
xyData<- as.matrix(tangles.out[[1]])
point_detang<- detangles(data=xyData,
tanglerInfo=tangles.out[[2]],
raster_object = FALSE,
stub = "hv_fix",
hash_key = tangles.out[[2]][1],
saveTangles = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.