knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
Publishing a raster density map can reveal sensitive values.
sdcSpatial
is an opensource R package for creating spatial density (raster)
maps from point data while protecting the privacy of individual observations.
sdcSpatial
offers a sdc_raster
class that allows to:
plot_sensitive
, is_sensitive
, sensitivity_score
.protect_smooth
, protect_quadtree
.remove_sensitive
.raster
s that can be used with visualisation packages, such as tmap
and leaflet
: x$value$mean
, x$value$sum
, mean
, sum
.install.packages("sdcSpatial")
To install the current development version of sdcSpatial
with devtools
remotes::install_github("edwindj/sdcSpatial")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.