Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/edwindj/sdcSpatial
Create privacy protected maps with R
https://github.com/edwindj/sdcSpatial
Last synced: 3 months ago
JSON representation
Create privacy protected maps with R
- Host: GitHub
- URL: https://github.com/edwindj/sdcSpatial
- Owner: edwindj
- Created: 2018-05-29T14:19:59.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-08-08T14:45:29.000Z (6 months ago)
- Last Synced: 2024-08-09T03:19:35.948Z (6 months ago)
- Language: R
- Homepage: https://edwindj.github.io/sdcSpatial/
- Size: 37.2 MB
- Stars: 7
- Watchers: 3
- Forks: 1
- Open Issues: 11
-
Metadata Files:
- Readme: README.Rmd
- Changelog: NEWS.md
Awesome Lists containing this project
README
---
output: github_document
---```{r setup, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
[](https://cran.r-project.org/package=sdcSpatial)
[](https://github.com/edwindj/sdcSpatial/actions)
[](https://cran.r-project.org/package=sdcSpatial)
[](https://CRAN.R-project.org/package=sdcSpatial)
[](http://www.awesomeofficialstatistics.org)# sdcSpatial
_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:
- find out which locations are considered sensitive / unsafe for publishing: `plot_sensitive`, `is_sensitive`, `sensitivity_score`.
- apply protection methods that reduce sensitiviy and enhance spatial patterns: `protect_smooth`, `protect_quadtree`.
- remove sensitive locations: `remove_sensitive`.
- extract relative as well as absolute density `raster`s that can be used with visualisation packages, such as `tmap` and `leaflet`: `x$value$mean`, `x$value$sum`, `mean`, `sum`.## Installation
```r
install.packages("sdcSpatial")
```To install the current development version of `sdcSpatial` with `devtools`
```r
remotes::install_github("edwindj/sdcSpatial")
```## Example
```{r example, code=head(readLines("./example/protect_smooth.R")[-1],-1)}
```