{
  "_id": "6a1407c2acfb0bcc41d39b22",
  "Package": "sfhotspot",
  "Title": "Hot-Spot Analysis with Simple Features",
  "Version": "1.0.0",
  "Authors@R": "person(\"Matt\", \"Ashby\", , \"matthew.ashby@ucl.ac.uk\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0003-4201-9239\"))",
  "Description": "Identify and understand clusters of points (typically\nrepresenting the locations of places or events) stored in\nsimple-features (SF) objects. This is useful for analysing, for\nexample, hot-spots of crime events. The package emphasises\nproducing results from point SF data in a single step using\nreasonable default values for all other arguments, to aid rapid\ndata analysis by users who are starting out. Functions\navailable include kernel density estimation (for details, see\nYip (2020) <doi:10.22224/gistbok/2020.1.12>), analysis of\nspatial association (Getis and Ord (1992)\n<doi:10.1111/j.1538-4632.1992.tb00261.x>) and hot-spot\nclassification (Chainey (2020) ISBN:158948584X).",
  "License": "MIT + file LICENSE",
  "Language": "en-GB",
  "URL": "http://pkgs.lesscrime.info/sfhotspot/",
  "BugReports": "https://github.com/mpjashby/sfhotspot/issues",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "LazyData": "true",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "quarto",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibssl-dev libproj-dev libsqlite3-dev libudunits2-dev",
  "Repository": "https://mpjashby.r-universe.dev",
  "Date/Publication": "2025-07-29 11:51:37 UTC",
  "RemoteUrl": "https://github.com/mpjashby/sfhotspot",
  "RemoteRef": "HEAD",
  "RemoteSha": "6b3caf7d27690a15072cf5d77d2fbd6f33185808",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-25 08:21:42 UTC",
    "User": "root"
  },
  "Author": "Matt Ashby [aut, cre] (ORCID: <https://orcid.org/0000-0003-4201-9239>)",
  "Maintainer": "Matt Ashby <matthew.ashby@ucl.ac.uk>",
  "MD5sum": "6ae375609bfe33e13a7a3d42b5efce5c",
  "_user": "mpjashby",
  "_type": "src",
  "_file": "sfhotspot_1.0.0.tar.gz",
  "_fileid": "6f74091ee476507b632d990cd9eee6e498d848efb27e73fac9bc0afaa88bfead",
  "_filesize": 1279108,
  "_sha256": "6f74091ee476507b632d990cd9eee6e498d848efb27e73fac9bc0afaa88bfead",
  "_created": "2026-05-25T08:21:42.000Z",
  "_published": "2026-05-25T08:26:42.786Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77680209973,
      "time": 256,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7194548422"
    },
    {
      "job": 77680209991,
      "time": 259,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7194549642"
    },
    {
      "job": 77680209982,
      "time": 237,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7194539536"
    },
    {
      "job": 77680209980,
      "time": 229,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7194537806"
    },
    {
      "job": 77679751547,
      "time": 225,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7194486332"
    },
    {
      "job": 77680209987,
      "time": 128,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7194518306"
    },
    {
      "job": 77680210000,
      "time": 236,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7194543726"
    },
    {
      "job": 77680209975,
      "time": 248,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7194546656"
    },
    {
      "job": 77680209979,
      "time": 236,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7194545805"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mpjashby/actions/runs/26390777786",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/mpjashby/sfhotspot",
  "_commit": {
    "id": "6b3caf7d27690a15072cf5d77d2fbd6f33185808",
    "author": "Matt Ashby <mpjashby@gmail.com>",
    "committer": "Matt Ashby <mpjashby@gmail.com>",
    "message": "Release v1.0.0\n\nFixes #48\n",
    "time": 1753789897
  },
  "_maintainer": {
    "name": "Matt Ashby",
    "email": "matthew.ashby@ucl.ac.uk",
    "login": "mpjashby",
    "linkedin": "in/matt-ashby-2b2773281",
    "twitter": "@lesscrime",
    "description": "Associate Professor of Crime Science at University College London",
    "uuid": 3823535,
    "orcid": "0000-0003-4201-9239"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "SpatialKDE",
      "role": "Imports"
    },
    {
      "package": "spdep",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "lubridate",
      "role": "Suggests"
    },
    {
      "package": "quarto",
      "role": "Suggests"
    },
    {
      "package": "ggspatial",
      "role": "Suggests"
    }
  ],
  "_owner": "mpjashby",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-27",
      "n": 3
    },
    {
      "week": "2025-31",
      "n": 3
    }
  ],
  "_tags": [],
  "_topics": [
    "hotspot",
    "hotspots",
    "hotspots-analysis",
    "mapping",
    "mapping-tools",
    "quarto"
  ],
  "_stars": 52,
  "_contributors": [
    {
      "user": "mpjashby",
      "count": 115,
      "uuid": 3823535
    }
  ],
  "_userbio": {
    "uuid": 3823535,
    "type": "user",
    "name": "Matt Ashby",
    "description": "Associate Professor of Crime Science at University College London"
  },
  "_downloads": {
    "count": 318,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/sfhotspot"
  },
  "_devurl": "https://github.com/mpjashby/sfhotspot",
  "_pkgdown": "http://pkgs.lesscrime.info/sfhotspot/",
  "_searchresults": 39,
  "_quarto": true,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/sfhotspot.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/mpjashby/sfhotspot",
  "_realowner": "mpjashby",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2.0",
      "date": "2022-02-14"
    },
    {
      "version": "0.7.0",
      "date": "2022-09-11"
    },
    {
      "version": "0.7.1",
      "date": "2023-02-10"
    },
    {
      "version": "0.8.0",
      "date": "2023-09-19"
    },
    {
      "version": "0.9.0",
      "date": "2025-02-10"
    },
    {
      "version": "0.9.1",
      "date": "2025-02-19"
    },
    {
      "version": "1.0.0",
      "date": "2025-08-01"
    }
  ],
  "_exports": [
    "autolayer",
    "autoplot",
    "hotspot_change",
    "hotspot_classify",
    "hotspot_classify_params",
    "hotspot_clip",
    "hotspot_count",
    "hotspot_dual_kde",
    "hotspot_gistar",
    "hotspot_grid",
    "hotspot_kde",
    "st_transform_auto"
  ],
  "_datasets": [
    {
      "name": "memphis_population",
      "title": "Populations of census blocks in Memphis in 2020",
      "object": "memphis_population",
      "class": [
        "sf",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "geoid",
        "population",
        "geometry"
      ],
      "rows": 10393,
      "table": true,
      "tojson": true
    },
    {
      "name": "memphis_precincts",
      "title": "Memphis Police Department Precincts",
      "object": "memphis_precincts",
      "class": [
        "sf",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "precinct",
        "geometry"
      ],
      "rows": 9,
      "table": false,
      "tojson": true
    },
    {
      "name": "memphis_robberies",
      "title": "Personal robberies in Memphis in 2019",
      "object": "memphis_robberies",
      "class": [
        "sf",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "uid",
        "offense_type",
        "date",
        "geometry"
      ],
      "rows": 2245,
      "table": true,
      "tojson": true
    },
    {
      "name": "memphis_robberies_jan",
      "title": "Personal robberies in Memphis in January 2019",
      "object": "memphis_robberies_jan",
      "class": [
        "sf",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "uid",
        "offense_type",
        "date",
        "geometry"
      ],
      "rows": 206,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "autoplot.hspt_c",
      "title": "Plot map of hotspot classifications",
      "topics": [
        "autoplot.hspt_c"
      ]
    },
    {
      "page": "autoplot.hspt_d",
      "title": "Plot map of changes in grid counts",
      "topics": [
        "autolayer.hspt_d",
        "autoplot.hspt_d"
      ]
    },
    {
      "page": "autoplot.hspt_k",
      "title": "Plot map of kernel-density values",
      "topics": [
        "autolayer.hspt_k",
        "autoplot.hspt_k"
      ]
    },
    {
      "page": "autoplot.hspt_n",
      "title": "Plot map of grid counts",
      "topics": [
        "autolayer.hspt_n",
        "autoplot.hspt_n"
      ]
    },
    {
      "page": "hotspot_change",
      "title": "Identify change in hotspots over time",
      "topics": [
        "hotspot_change"
      ]
    },
    {
      "page": "hotspot_classify",
      "title": "Classify hot-spots",
      "topics": [
        "hotspot_classify"
      ]
    },
    {
      "page": "hotspot_classify_params",
      "title": "Control the parameters used to classify hotspots",
      "topics": [
        "hotspot_classify_params"
      ]
    },
    {
      "page": "hotspot_clip",
      "title": "Extract points inside polygon",
      "topics": [
        "hotspot_clip"
      ]
    },
    {
      "page": "hotspot_count",
      "title": "Count points in cells in a two-dimensional grid",
      "topics": [
        "hotspot_count"
      ]
    },
    {
      "page": "hotspot_dual_kde",
      "title": "Estimate the relationship between the kernel density of two layers of points",
      "topics": [
        "hotspot_dual_kde"
      ]
    },
    {
      "page": "hotspot_gistar",
      "title": "Identify significant spatial clusters of points",
      "topics": [
        "hotspot_gistar"
      ]
    },
    {
      "page": "hotspot_grid",
      "title": "Create either a rectangular or hexagonal two-dimensional grid",
      "topics": [
        "hotspot_grid"
      ]
    },
    {
      "page": "hotspot_kde",
      "title": "Estimate two-dimensional kernel density of points",
      "topics": [
        "hotspot_kde"
      ]
    },
    {
      "page": "memphis_population",
      "title": "Populations of census blocks in Memphis in 2020",
      "topics": [
        "memphis_population"
      ]
    },
    {
      "page": "memphis_precincts",
      "title": "Memphis Police Department Precincts",
      "topics": [
        "memphis_precincts"
      ]
    },
    {
      "page": "memphis_robberies",
      "title": "Personal robberies in Memphis in 2019",
      "topics": [
        "memphis_robberies"
      ]
    },
    {
      "page": "memphis_robberies_jan",
      "title": "Personal robberies in Memphis in January 2019",
      "topics": [
        "memphis_robberies_jan"
      ]
    },
    {
      "page": "st_transform_auto",
      "title": "Toggle between lon/lat and UTM co-ordinates",
      "topics": [
        "st_transform_auto"
      ]
    }
  ],
  "_pkglogo": "https://github.com/mpjashby/sfhotspot/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/mpjashby/sfhotspot/raw/HEAD/README.md",
  "_rundeps": [
    "boot",
    "class",
    "classInt",
    "cli",
    "cpp11",
    "crayon",
    "DBI",
    "deldir",
    "dplyr",
    "e1071",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "hms",
    "isoband",
    "KernSmooth",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "MASS",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "proxy",
    "R6",
    "raster",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "s2",
    "S7",
    "scales",
    "sf",
    "sp",
    "SpatialKDE",
    "spData",
    "spdep",
    "terra",
    "tibble",
    "tidyselect",
    "units",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "wk"
  ],
  "_vignettes": [
    {
      "source": "introduction.qmd",
      "filename": "introduction.html",
      "title": "Introduction to sfhotspot",
      "engine": "quarto::html",
      "headings": [],
      "created": "2025-07-28 19:56:24",
      "modified": "2025-07-29 11:51:37",
      "commits": 2
    }
  ],
  "_score": 6.307067950661298,
  "_indexed": true,
  "_nocasepkg": "sfhotspot",
  "_universes": [
    "mpjashby"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-05-25T08:24:16.000Z",
      "distro": "noble",
      "commit": "6b3caf7d27690a15072cf5d77d2fbd6f33185808",
      "fileid": "a4e14fec6035a63bac6ff1b5e24936f2666dbd744af9148e8f021a7e35350057",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mpjashby/actions/runs/26390777786"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-05-25T08:24:19.000Z",
      "distro": "noble",
      "commit": "6b3caf7d27690a15072cf5d77d2fbd6f33185808",
      "fileid": "7dc7923763937322de83db708dc879d8bf32ea251507afa57c825629e58486b3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mpjashby/actions/runs/26390777786"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-05-25T08:24:29.000Z",
      "commit": "6b3caf7d27690a15072cf5d77d2fbd6f33185808",
      "fileid": "d313d664c3da43f84a15f2c664721d2a42db5cad9144000596a90c7066939793",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mpjashby/actions/runs/26390777786"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-05-25T08:24:16.000Z",
      "commit": "6b3caf7d27690a15072cf5d77d2fbd6f33185808",
      "fileid": "305668b227594f5d71f3ba14f656fb665c42d5fdf9598a1435f26e61f2b31038",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mpjashby/actions/runs/26390777786"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-05-25T08:24:12.000Z",
      "commit": "6b3caf7d27690a15072cf5d77d2fbd6f33185808",
      "fileid": "4122736856d068f0357bdae375f685e4652f8ba1d5a87c1f6a6a3d901f3786de",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mpjashby/actions/runs/26390777786"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-25T08:23:38.000Z",
      "commit": "6b3caf7d27690a15072cf5d77d2fbd6f33185808",
      "fileid": "d53f76a07c8a934660d73a2e8eab2dd371039e20424d1b79d1835ca9d4b0074e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mpjashby/actions/runs/26390777786"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-25T08:23:45.000Z",
      "commit": "6b3caf7d27690a15072cf5d77d2fbd6f33185808",
      "fileid": "e09381f158e1bec5fce4e66e6ba54d3da02c2ae54a9957d3e4ac9338560c5adf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mpjashby/actions/runs/26390777786"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-25T08:23:52.000Z",
      "commit": "6b3caf7d27690a15072cf5d77d2fbd6f33185808",
      "fileid": "1cfc962681e16c2420c98b7e8445527b44bb27fcbd768cf438241538e846efd9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mpjashby/actions/runs/26390777786"
    }
  ]
}