{"id":28120880,"url":"https://github.com/edwindj/sdcspatial","last_synced_at":"2025-08-12T18:13:57.843Z","repository":{"id":56927120,"uuid":"135307240","full_name":"edwindj/sdcSpatial","owner":"edwindj","description":"Create privacy protected maps with R","archived":false,"fork":false,"pushed_at":"2025-06-19T15:01:36.000Z","size":47785,"stargazers_count":8,"open_issues_count":11,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-13T22:35:54.216Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://edwindj.github.io/sdcSpatial/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/edwindj.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-05-29T14:19:59.000Z","updated_at":"2025-03-17T13:47:03.000Z","dependencies_parsed_at":"2023-12-13T16:52:35.569Z","dependency_job_id":"99817cc9-c71b-4536-974f-54b347e2b7b0","html_url":"https://github.com/edwindj/sdcSpatial","commit_stats":{"total_commits":122,"total_committers":1,"mean_commits":122.0,"dds":0.0,"last_synced_commit":"b985ae2ffad7fc25128455f86929eaed43370675"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/edwindj/sdcSpatial","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edwindj%2FsdcSpatial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edwindj%2FsdcSpatial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edwindj%2FsdcSpatial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edwindj%2FsdcSpatial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edwindj","download_url":"https://codeload.github.com/edwindj/sdcSpatial/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edwindj%2FsdcSpatial/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270110197,"owners_count":24529009,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-12T02:00:09.011Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-14T07:41:53.820Z","updated_at":"2025-08-12T18:13:57.771Z","avatar_url":"https://github.com/edwindj.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r setup, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\",\n  out.width = \"100%\"\n)\n```\n[![CRAN status](https://www.r-pkg.org/badges/version/sdcSpatial)](https://cran.r-project.org/package=sdcSpatial)\n[![R build status](https://github.com/edwindj/sdcSpatial/workflows/R-CMD-check/badge.svg)](https://github.com/edwindj/sdcSpatial/actions)\n[![](https://cranlogs.r-pkg.org/badges/sdcSpatial)](https://cran.r-project.org/package=sdcSpatial)\n[![status](https://tinyverse.netlify.com/badge/sdcSpatial)](https://CRAN.R-project.org/package=sdcSpatial)\n[![Mentioned in Awesome Official Statistics](https://awesome.re/mentioned-badge.svg)](http://www.awesomeofficialstatistics.org)\n\n# sdcSpatial\n\n_Publishing a raster density map can reveal sensitive values_.\n`sdcSpatial` is an opensource R package for creating spatial density (raster) \nmaps from point data while protecting the privacy of individual observations. \n\n`sdcSpatial` offers a `sdc_raster` class that allows to:\n\n- find out which locations are considered sensitive / unsafe for publishing: `plot_sensitive`, `is_sensitive`, `sensitivity_score`.\n- apply protection methods that reduce sensitiviy and enhance spatial patterns: `protect_smooth`, `protect_quadtree`.\n- remove sensitive locations: `remove_sensitive`.\n- 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`.\n\n## Installation\n\n```r\ninstall.packages(\"sdcSpatial\")\n```\n\nTo install the current development version of  `sdcSpatial`  with `devtools`\n\n```r\nremotes::install_github(\"edwindj/sdcSpatial\")\n```\n\n## Example\n\n```{r example, code=head(readLines(\"./example/protect_smooth.R\")[-1],-1)}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedwindj%2Fsdcspatial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedwindj%2Fsdcspatial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedwindj%2Fsdcspatial/lists"}