knitr::opts_chunk$set( echo = TRUE, out.height = "70%", warning = FALSE ) library(sdcSpatial)
knitr::include_graphics("fig/privacy.jpg")
sdcSpatial
sdcSpatial
has methods for:sdc_raster
for pop density, value density and mean
density, using the excellent raster
[@Hijmans2019].plot_sensitive
, is_sensitive
.protect_smooth
, protect_quadtree
.remove_sensitive
sdcSpatial
?SDC = "Statistical Disclosure Control"
sdcSpatial
works upon locations.We'll focus on population density
sdcSpatial
Using sdcSpatial
for AT, FR, DE and NL to protect population density, i.e.
to "grid locations" with < 10 persons [@Gussenbauer2023]
\scriptsize
population <- sdc_raster( dwellings[c("x","y")] , variable = 1 , min_count = 10 , r = 500) plot(population, value="count")
remove_sensitive
pop_removed <- population |> remove_sensitive() plot(pop_removed, value = "count")
protect_smooth
pop_smoothed <- protect_smooth(population, bw = 500) plot(pop_smoothed, "count")
protect_quadtree
pop_quad <- protect_quadtree(population, sensitive = FALSE) plot(pop_quad, "count")
SpatialKWD
knitr::include_graphics("fig/areas.png")
knitr::include_graphics("fig/utility_nl.png")
distance_hellinger()
smoothing (much more efficient): from city size to country size.
tbp in January 2024
install.packages("sdcSpatial")
https://github.com/edwindj/sdcSpatial/issues
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.