Hot-Spot Analysis with Simple Features
Overview
Identify and understand clusters of points (typically representing the locations of places or events) stored in simple-features (SF) objects. This is useful for analysing, for example, hot-spots of crime events. The package emphasises producing results from point SF data in a single step using reasonable default values for all other arguments, to aid rapid data analysis by users who are starting out. Functions available include kernel density estimation (for details, see Yip (2020) doi:10.22224/gistbok/2020.1.12), analysis of spatial association (Getis and Ord (1992) doi:10.1111/j.1538-4632.1992.tb00261.x) and hot-spot classification (Chainey (2020) ISBN:158948584X).
- Package tests now streamlined to reducing CRAN testing time (#98).
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- WARNING12 OK, 1 WARNING2026-06-08
- OK13 OK2026-04-30
Show 2 earlier changesHide 2 earlier changes
- ERROR13 OK, 1 ERROR2026-04-20
- OK14 OK2026-03-10
Documentation
- Help pages
- 27 (1 internal)
- Examples that run
- 67%6 run in a plain check · 3 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 60%
- Documented parameters
- 99%
- Return-value docs
- 93%
- Help pages citing references
- 15%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 3
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
12 development-tooling and community-health practices detected across 7 families in the upstream repository
Checks run against github.com/mpjashby/sfhotspot on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
pkgdown site last built 2026-09-30, before release 1.1.1 (2026-10-01)
Show all practicesHide 3 practices
This repository shows signs of AI coding tools.
- GitHub Copilotfirst seen 2026-09-07Pull request: opened by its own account
Dependencies
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 1.1.1Latest2026-10-01 · current release · diff ↗ ·
added 4 exports
hotspot_dbscan, hotspot_isoband, hotspot_layer, hotspot_map - RR 4.6.0 released · 2026-04-24
- 1.0.0
- RR 4.5.0 released · 2025-04-11
- 0.9.12025-02-19 · diff ↗
- 0.9.02025-02-10 · diff ↗
- RR 4.4.0 released · 2024-04-24
- unarchivedReturned to CRAN2023-09-19
- 0.8.02023-09-19 · diff ↗
- archivedRemoved from CRAN2023-09-11installation issues were not corrected in time
- RR 4.3.0 released · 2023-04-21
- 0.7.12023-02-10 · diff ↗
- 0.7.02022-09-12 · diff ↗ ·
added 5 exports
autolayer, autoplot, hotspot_change, hotspot_dual_kde, hotspot_grid - RR 4.2.0 released · 2022-04-22
- 0.2.02022-02-14
- RR 4.1.0 released · 2021-05-18
Package metadata
- First published
- 2022-02-14
- Total releases
- 8 / 4 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.1.0
- Bundled data
- 495 KB / 4 files
- Download size
- 1.0 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("sfhotspot")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.