{
  "_id": "6a281e8ea476d7de6d3c7cc5",
  "Package": "gsClusterDetect",
  "Type": "Package",
  "Title": "Utilities for Geo-Spatial Cluster Detection and Significance\nClassification",
  "Version": "1.0.1",
  "Authors@R": "c(\nperson(\"Luke C.\", \"Mullany\", email = \"luke.mullany@jhuapl.edu\", role = c(\"aut\", \"cre\")),\nperson(\"Howard S.\", \"Burkom\", role = \"aut\")\n)",
  "Maintainer": "Luke C. Mullany, PhD <luke.mullany@jhuapl.edu>",
  "Description": "Provides utilities for manipulating time series of\nlocation-based counts of events to detect geo-spatial clusters.\nSignificance of these clusters is determined using a set of\nmodels that classify based on a learned relationship between\nobserved and the log(observed/expected) ratio of counts. The\napproach implemented here is similar to prospective space-time\nestimation of clusters using the scan statistic.",
  "URL": "https://github.com/lmullany/gsClusterDetect,\nhttps://lmullany.github.io/gsClusterDetect/",
  "BugReports": "https://github.com/lmullany/gsClusterDetect/issues",
  "License": "Apache License (>= 2)",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibssl-dev libproj-dev libsqlite3-dev libudunits2-dev",
  "Repository": "https://lmullany.r-universe.dev",
  "Date/Publication": "2026-06-09 12:36:53 UTC",
  "RemoteUrl": "https://github.com/lmullany/gsclusterdetect",
  "RemoteRef": "HEAD",
  "RemoteSha": "8a3d28c610e91a431ceda4796eb42cae837148dd",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-09 14:04:45 UTC",
    "User": "root"
  },
  "Author": "Luke C. Mullany [aut, cre],\nHoward S. Burkom [aut]",
  "MD5sum": "4ac3ec17da802d48b9c64ed395bf6496",
  "_user": "lmullany",
  "_type": "src",
  "_file": "gsClusterDetect_1.0.1.tar.gz",
  "_fileid": "9aee2f025e2ff9bcf462a339e915b3496ec57f9e31a5116730ef2e4955937aba",
  "_filesize": 2753065,
  "_sha256": "9aee2f025e2ff9bcf462a339e915b3496ec57f9e31a5116730ef2e4955937aba",
  "_created": "2026-06-09T14:04:45.000Z",
  "_published": "2026-06-09T14:09:18.329Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80342473849,
      "time": 202,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7510170830"
    },
    {
      "job": 80342473943,
      "time": 202,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7510170996"
    },
    {
      "job": 80342473668,
      "time": 219,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7510166345"
    },
    {
      "job": 80342473665,
      "time": 225,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7510162065"
    },
    {
      "job": 80341642528,
      "time": 217,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7510076110"
    },
    {
      "job": 80342473725,
      "time": 151,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7510145861"
    },
    {
      "job": 80342473816,
      "time": 183,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7510161397"
    },
    {
      "job": 80342473735,
      "time": 157,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7510149373"
    },
    {
      "job": 80342473703,
      "time": 150,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7510146336"
    }
  ],
  "_buildurl": "https://github.com/r-universe/lmullany/actions/runs/27211495402",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/lmullany/gsclusterdetect",
  "_commit": {
    "id": "8a3d28c610e91a431ceda4796eb42cae837148dd",
    "author": "Luke C Mullany <12236192+lmullany@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Improve column names in find_clusters() output table\n\nUpdated output table from find_clusters() with clearer column names.",
    "time": 1781008613
  },
  "_maintainer": {
    "name": "Luke C. Mullany, PhD",
    "email": "luke.mullany@jhuapl.edu",
    "login": "lmullany",
    "description": "Public Health Scientist / Epidemiologist / Biostatistician",
    "uuid": 12236192
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.3",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "version": ">= 1.16.0",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "plotly",
      "role": "Suggests"
    },
    {
      "package": "tigris",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "lmullany",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-26",
      "n": 2
    },
    {
      "week": "2025-32",
      "n": 1
    },
    {
      "week": "2025-41",
      "n": 5
    },
    {
      "week": "2025-42",
      "n": 1
    },
    {
      "week": "2026-05",
      "n": 1
    },
    {
      "week": "2026-07",
      "n": 2
    },
    {
      "week": "2026-11",
      "n": 11
    },
    {
      "week": "2026-12",
      "n": 5
    },
    {
      "week": "2026-13",
      "n": 7
    },
    {
      "week": "2026-17",
      "n": 4
    },
    {
      "week": "2026-18",
      "n": 1
    },
    {
      "week": "2026-22",
      "n": 1
    },
    {
      "week": "2026-24",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v1.0.0",
      "date": "2026-03-19"
    }
  ],
  "_stars": 4,
  "_contributors": [
    {
      "user": "lmullany",
      "count": 104,
      "uuid": 12236192
    },
    {
      "user": "howardburkom",
      "count": 5,
      "uuid": 5013210
    }
  ],
  "_userbio": {
    "uuid": 12236192,
    "type": "user",
    "name": "Luke C Mullany",
    "description": "Public Health Scientist / Epidemiologist / Biostatistician"
  },
  "_downloads": {
    "count": 165,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/gsClusterDetect"
  },
  "_devurl": "https://github.com/lmullany/gsclusterdetect",
  "_pkgdown": "https://lmullany.github.io/gsClusterDetect/",
  "_searchresults": 5,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/gsClusterDetect.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/lmullany/gsclusterdetect",
  "_realowner": "lmullany",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2026-03-23"
    }
  ],
  "_exports": [
    "add_location_counts",
    "add_spline_threshold",
    "compress_clusters",
    "compress_clusters_fast",
    "county_distance_matrix",
    "create_custom_dist_list",
    "create_dist_list",
    "custom_distance_matrix",
    "find_clusters",
    "gen_nearby_case_info",
    "generate_case_grids",
    "generate_heatmap",
    "generate_heatmap_data",
    "generate_observed_expected",
    "generate_summary_table",
    "generate_time_series_data",
    "generate_time_series_plot",
    "get_baseline_dates",
    "get_nearby_locations",
    "get_test_dates",
    "reduce_clusters_to_min",
    "st_injects",
    "state_distance_matrix",
    "tract_distance_matrix",
    "tract_generator",
    "us_distance_matrix",
    "zip_distance_matrix"
  ],
  "_datasets": [
    {
      "name": "counties",
      "title": "County Location Dataset",
      "object": "counties",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "state_name",
        "state",
        "state_fips",
        "fips",
        "longitude",
        "latitude"
      ],
      "rows": 3144,
      "table": true,
      "tojson": true
    },
    {
      "name": "example_count_data",
      "title": "Example Count Dataset",
      "object": "example_count_data",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "location",
        "date",
        "count"
      ],
      "rows": 11264,
      "table": true,
      "tojson": true
    },
    {
      "name": "spline_001",
      "title": "Spline Lookup Table - 0.001",
      "object": "spline_001",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "observed",
        "spl_thresh"
      ],
      "rows": 399,
      "table": true,
      "tojson": true
    },
    {
      "name": "spline_005",
      "title": "Spline Lookup Table - 0.005",
      "object": "spline_005",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "observed",
        "spl_thresh"
      ],
      "rows": 399,
      "table": true,
      "tojson": true
    },
    {
      "name": "spline_01",
      "title": "Spline Lookup Table - 0.01",
      "object": "spline_01",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "observed",
        "spl_thresh"
      ],
      "rows": 399,
      "table": true,
      "tojson": true
    },
    {
      "name": "spline_05",
      "title": "Spline Lookup Table - 0.05",
      "object": "spline_05",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "observed",
        "spl_thresh"
      ],
      "rows": 399,
      "table": true,
      "tojson": true
    },
    {
      "name": "states",
      "title": "State Location Dataset",
      "object": "states",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "state_name",
        "state",
        "state_fips",
        "longitude",
        "latitude"
      ],
      "rows": 56,
      "table": true,
      "tojson": true
    },
    {
      "name": "zipcodes",
      "title": "Zipcode Location Dataset",
      "object": "zipcodes",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "id",
        "zip_code",
        "state",
        "county",
        "region",
        "region_id",
        "region_name",
        "pop",
        "modified",
        "latitude",
        "longitude"
      ],
      "rows": 42482,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "add_location_counts",
      "title": "Add location counts to cluster location list",
      "topics": [
        "add_location_counts"
      ]
    },
    {
      "page": "add_spline_threshold",
      "title": "Use spline lookup to restrict `ObservedExpectedGrid` to potential clusters",
      "topics": [
        "add_spline_threshold"
      ]
    },
    {
      "page": "check_vars",
      "title": "check for variables in frame",
      "topics": [
        "check_vars"
      ]
    },
    {
      "page": "compress_clusters",
      "title": "Compress a cluster_alert_table",
      "topics": [
        "compress_clusters"
      ]
    },
    {
      "page": "compress_clusters_fast",
      "title": "Fast version of compress clusters",
      "topics": [
        "compress_clusters_fast"
      ]
    },
    {
      "page": "counties",
      "title": "County Location Dataset",
      "topics": [
        "counties"
      ]
    },
    {
      "page": "county_distance_matrix",
      "title": "Get distance matrix for counties within a state",
      "topics": [
        "county_distance_matrix"
      ]
    },
    {
      "page": "create_custom_dist_list",
      "title": "Create a sparse distance list from custom location data",
      "topics": [
        "create_custom_dist_list"
      ]
    },
    {
      "page": "create_dist_list",
      "title": "Generalized distance list as sparse list",
      "topics": [
        "create_dist_list"
      ]
    },
    {
      "page": "custom_distance_matrix",
      "title": "Build a Distance Matrix from a Custom Data Frame",
      "topics": [
        "custom_distance_matrix"
      ]
    },
    {
      "page": "example_count_data",
      "title": "Example Count Dataset",
      "topics": [
        "example_count_data"
      ]
    },
    {
      "page": "find_clusters",
      "title": "Find clusters",
      "topics": [
        "find_clusters"
      ]
    },
    {
      "page": "gen_nearby_case_info",
      "title": "Return baseline and test period case grids restricting by distance",
      "topics": [
        "gen_nearby_case_info"
      ]
    },
    {
      "page": "generate_case_grids",
      "title": "Get candidate clusters and locations in baseline intervals",
      "topics": [
        "generate_case_grids"
      ]
    },
    {
      "page": "generate_heatmap",
      "title": "Generate heatmap of data",
      "topics": [
        "generate_heatmap"
      ]
    },
    {
      "page": "generate_heatmap_data",
      "title": "Get heat map data from a set of location, date, count data",
      "topics": [
        "generate_heatmap_data"
      ]
    },
    {
      "page": "generate_observed_expected",
      "title": "Generate the observed and expected information",
      "topics": [
        "generate_observed_expected"
      ]
    },
    {
      "page": "generate_summary_table",
      "title": "Summary count-by-location-and-date data, given baseline and test interval lengths, and an end-date for the test interval",
      "topics": [
        "generate_summary_table"
      ]
    },
    {
      "page": "generate_time_series_data",
      "title": "Generate time series data",
      "topics": [
        "generate_time_series_data"
      ]
    },
    {
      "page": "generate_time_series_plot",
      "title": "Generate timeseries plot data",
      "topics": [
        "generate_time_series_plot"
      ]
    },
    {
      "page": "get_baseline_dates",
      "title": "Generate baseline dates vector",
      "topics": [
        "get_baseline_dates"
      ]
    },
    {
      "page": "get_nearby_locations",
      "title": "Get nearby locations",
      "topics": [
        "get_nearby_locations"
      ]
    },
    {
      "page": "get_test_dates",
      "title": "Generate test dates vector",
      "topics": [
        "get_test_dates"
      ]
    },
    {
      "page": "reduce_clusters_to_min",
      "title": "Filter clusters on minimum overall count",
      "topics": [
        "reduce_clusters_to_min"
      ]
    },
    {
      "page": "spline_001",
      "title": "Spline Lookup Table - 0.001",
      "topics": [
        "spline_001"
      ]
    },
    {
      "page": "spline_005",
      "title": "Spline Lookup Table - 0.005",
      "topics": [
        "spline_005"
      ]
    },
    {
      "page": "spline_01",
      "title": "Spline Lookup Table - 0.01",
      "topics": [
        "spline_01"
      ]
    },
    {
      "page": "spline_05",
      "title": "Spline Lookup Table - 0.05",
      "topics": [
        "spline_05"
      ]
    },
    {
      "page": "st_injects",
      "title": "Add data counts for parameterized injected clusters",
      "topics": [
        "st_injects"
      ]
    },
    {
      "page": "state_distance_matrix",
      "title": "Get distance matrix for states in the US",
      "topics": [
        "state_distance_matrix"
      ]
    },
    {
      "page": "states",
      "title": "State Location Dataset",
      "topics": [
        "states"
      ]
    },
    {
      "page": "tract_distance_matrix",
      "title": "Build a Tract Distance Matrix for a State",
      "topics": [
        "tract_distance_matrix"
      ]
    },
    {
      "page": "tract_generator",
      "title": "Generate Census Tract Centroids for a State",
      "topics": [
        "tract_generator"
      ]
    },
    {
      "page": "us_distance_matrix",
      "title": "Get distance matrix for all counties in the US",
      "topics": [
        "us_distance_matrix"
      ]
    },
    {
      "page": "zip_distance_matrix",
      "title": "Get distance matrix for zip codes within a state",
      "topics": [
        "zip_distance_matrix"
      ]
    },
    {
      "page": "zipcodes",
      "title": "Zipcode Location Dataset",
      "topics": [
        "zipcodes"
      ]
    }
  ],
  "_readme": "https://github.com/lmullany/gsclusterdetect/raw/HEAD/README.md",
  "_rundeps": [
    "class",
    "classInt",
    "cli",
    "data.table",
    "DBI",
    "e1071",
    "KernSmooth",
    "MASS",
    "proxy",
    "Rcpp",
    "s2",
    "sf",
    "units",
    "wk"
  ],
  "_vignettes": [
    {
      "source": "basic_demo.Rmd",
      "filename": "basic_demo.html",
      "title": "Vignette 1: Package Overview",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview: Package Purpose",
        "Package functionality",
        "Technical Requirements to Enable Cluster Detection in User Data",
        "Distance Structures for Geographic Scanning",
        "Full Distance Matrix Functions:",
        "Limited Distance Lists",
        "Main Wrapper: find_clusters()",
        "Preparing Inputs",
        "Key Parameters in find_clusters()",
        "Required:",
        "Optional:",
        "Running find_clusters()",
        "Built-In Spline Tables and Example Data",
        "Example Cluster Map",
        "Summary and Plotting Utilities"
      ],
      "created": "2026-04-20 17:46:46",
      "modified": "2026-06-09 12:35:33",
      "commits": 6
    },
    {
      "source": "distance_objects.Rmd",
      "filename": "distance_objects.html",
      "title": "Vignette 2: Creating Distance Objects",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Types of Distance Objects:",
        "Square pairwise distance matrices",
        "Example: county distance matrix:",
        "Example: zip code distance matrix:",
        "Example: tract distance matrix:",
        "Custom Distance Matrices",
        "Distance Lists",
        "Custom Distance Lists",
        "Other Functions"
      ],
      "created": "2026-04-30 12:45:06",
      "modified": "2026-05-25 15:50:35",
      "commits": 2
    }
  ],
  "_score": 5.7160033436347994,
  "_indexed": true,
  "_nocasepkg": "gsclusterdetect",
  "_universes": [
    "lmullany"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-06-09T14:07:32.000Z",
      "distro": "noble",
      "commit": "8a3d28c610e91a431ceda4796eb42cae837148dd",
      "fileid": "bf6d41318584df4def96bcd8b880ac5bc0d334f9a142b831357d10c8b8fd0cfd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lmullany/actions/runs/27211495402"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-06-09T14:07:35.000Z",
      "distro": "noble",
      "commit": "8a3d28c610e91a431ceda4796eb42cae837148dd",
      "fileid": "b3a64e743141b23704bdcbd931a05c5398498d8e8cdd61ab583d397b3ffa6883",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lmullany/actions/runs/27211495402"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-06-09T14:07:32.000Z",
      "commit": "8a3d28c610e91a431ceda4796eb42cae837148dd",
      "fileid": "71ef51f6c2f1b31cc169751d97dfd1dfbeb13f18701570315b8be9d33e9a42b4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lmullany/actions/runs/27211495402"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-06-09T14:07:23.000Z",
      "commit": "8a3d28c610e91a431ceda4796eb42cae837148dd",
      "fileid": "17895ea3534abc41a885f38b421a1e90f8cfce03575598b42fc0bf6adad332f0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lmullany/actions/runs/27211495402"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.1",
      "date": "2026-06-09T14:07:34.000Z",
      "commit": "8a3d28c610e91a431ceda4796eb42cae837148dd",
      "fileid": "caf6b55ff86ae80bd475ba5575e65874df86ad0efc7018a9e8cfe561d29b8442",
      "status": "success",
      "buildurl": "https://github.com/r-universe/lmullany/actions/runs/27211495402"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-06-09T14:06:57.000Z",
      "commit": "8a3d28c610e91a431ceda4796eb42cae837148dd",
      "fileid": "b5e92a8d26cf07434f397a25ca356b3d68ef9bcf1cc60f9f9d3e27ef494c052e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lmullany/actions/runs/27211495402"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-06-09T14:06:28.000Z",
      "commit": "8a3d28c610e91a431ceda4796eb42cae837148dd",
      "fileid": "e8ce01853ee0e50d69a332d8f0316a32e472a0b101b0dd140bd85f8ff776d4dd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lmullany/actions/runs/27211495402"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-06-09T14:06:24.000Z",
      "commit": "8a3d28c610e91a431ceda4796eb42cae837148dd",
      "fileid": "092318f8d95718e13eaa8de5840babf3d3f7148ba2cb4366d2b01efc68f26aef",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lmullany/actions/runs/27211495402"
    }
  ]
}