{
  "_id": "6a1abfe71d7bb097a09d672b",
  "Package": "treeSS",
  "Type": "Package",
  "Title": "Tree-Spatial Scan Statistic for Cluster Detection",
  "Version": "0.1.50",
  "Authors@R": "c(\nperson(\"Allan\", \"Quadros\", email = \"allanvcq@gmail.com\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0003-3250-5380\")),\nperson(\"Andre L. F.\", \"Cançado\",\nrole = \"aut\",\ncomment = c(ORCID = \"0000-0002-7019-8521\")),\nperson(\"Geiziane S.\", \"Oliveira\", role = \"aut\"),\nperson(\"Luiz H.\", \"Duczmal\", role = \"aut\")\n)",
  "Description": "Implements the tree-spatial scan statistic for detecting\nclusters that combine both spatial and hierarchical structures,\nas proposed by Cancado et al. (2025)\n<doi:10.1007/s10651-025-00670-w>. The method extends Kulldorff\n(1997) <doi:10.1080/03610929708831995> circular spatial scan\nstatistic and the tree-based scan statistic of Kulldorff et al.\n(2003) <doi:10.1111/1541-0420.00039> by searching for anomalies\nin both geographic regions and branches of hierarchical trees\nsimultaneously. The package also provides standalone\nimplementations of Kulldorff's circular spatial scan statistic\nand the tree-based scan statistic. Statistical significance is\nassessed via Monte Carlo simulation under a Poisson or binomial\nmodel, with optional 'OpenMP' parallelization.",
  "License": "GPL (>= 3)",
  "URL": "https://github.com/allanvc/treeSS",
  "BugReports": "https://github.com/allanvc/treeSS/issues",
  "SystemRequirements": "GNU make",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "LazyDataCompression": "xz",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.3.2",
  "Config/testthat/edition": "3",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-30 09:42:42 UTC",
    "User": "root"
  },
  "Author": "Allan Quadros [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-3250-5380>), Andre L. F. Cançado\n[aut] (ORCID: <https://orcid.org/0000-0002-7019-8521>),\nGeiziane S. Oliveira [aut], Luiz H. Duczmal [aut]",
  "Maintainer": "Allan Quadros <allanvcq@gmail.com>",
  "Config/pak/sysreqs": "make",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-05-30 04:31:00 UTC",
  "RemoteUrl": "https://github.com/cran/treeSS",
  "RemoteRef": "HEAD",
  "RemoteSha": "77d049f544ac9695f5190b792d0828282e4850ef",
  "MD5sum": "2bc3a4f653103749462d64f55ca50c5c",
  "_user": "cran",
  "_type": "src",
  "_file": "treeSS_0.1.50.tar.gz",
  "_fileid": "4bf3e6cfaf1279869b3793b66bf0eebefe2143e949db13d48e718602fa5e7c89",
  "_filesize": 1119109,
  "_sha256": "4bf3e6cfaf1279869b3793b66bf0eebefe2143e949db13d48e718602fa5e7c89",
  "_created": "2026-05-30T09:42:42.000Z",
  "_published": "2026-05-30T10:45:59.342Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78640395179,
      "time": 142,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7307278323"
    },
    {
      "job": 78640395185,
      "time": 138,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7307411739"
    },
    {
      "job": 78640395184,
      "time": 143,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7307278386"
    },
    {
      "job": 78640395186,
      "time": 138,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7307411770"
    },
    {
      "job": 78639833458,
      "time": 203,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7307263199"
    },
    {
      "job": 78640395182,
      "time": 118,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7307409882"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/26676825895",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/treeSS",
  "_commit": {
    "id": "77d049f544ac9695f5190b792d0828282e4850ef",
    "author": "Allan Quadros <allanvcq@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.50\n",
    "time": 1780115460
  },
  "_maintainer": {
    "name": "Allan Quadros",
    "email": "allanvcq@gmail.com",
    "login": "allan-fnde",
    "description": "",
    "uuid": 35398559,
    "orcid": "0000-0003-3250-5380"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "sf",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-20",
      "n": 1
    },
    {
      "week": "2026-22",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.44",
      "date": "2026-05-15"
    },
    {
      "name": "0.1.50",
      "date": "2026-05-30"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "allan-fnde",
      "count": 2,
      "uuid": 35398559
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 224,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/treeSS"
  },
  "_devurl": "https://github.com/allanvc/treess",
  "_searchresults": 1,
  "_topics": [
    "cpp",
    "openmp"
  ],
  "_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/treeSS.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/allanvc/treess",
  "_realowner": "allanvc",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.44",
      "date": "2026-05-15"
    },
    {
      "version": "0.1.50",
      "date": "2026-05-30"
    }
  ],
  "_exports": [
    "aggregate_tree",
    "build_zones",
    "circular_scan",
    "filter_clusters",
    "generate_example_data",
    "get_cluster_regions",
    "sequential_scan",
    "tree_scan",
    "treespatial_scan"
  ],
  "_datasets": [
    {
      "name": "chicago_crimes",
      "title": "Chicago Crime (2023)",
      "object": "chicago_crimes",
      "class": [
        "data.frame"
      ],
      "fields": [
        "region_id",
        "area_number",
        "name",
        "population",
        "x",
        "y",
        "node_id",
        "cases",
        "pop_residential"
      ],
      "rows": 30843,
      "table": true,
      "tojson": true
    },
    {
      "name": "chicago_map",
      "title": "Chicago Community Area Boundaries",
      "object": "chicago_map",
      "class": [
        "sf",
        "data.frame"
      ],
      "fields": [
        "NAME",
        "AREA_NUM",
        "geometry"
      ],
      "rows": 77,
      "table": false,
      "tojson": true
    },
    {
      "name": "chicago_tree",
      "title": "Chicago Crime - Hierarchy",
      "object": "chicago_tree",
      "class": [
        "data.frame"
      ],
      "fields": [
        "node_id",
        "parent_id"
      ],
      "rows": 2841,
      "table": true,
      "tojson": true
    },
    {
      "name": "fl_deaths",
      "title": "Florida General Mortality Data (2016)",
      "object": "fl_deaths",
      "class": [
        "data.frame"
      ],
      "fields": [
        "county_fips",
        "county_name",
        "icd10_code",
        "icd10_desc",
        "deaths",
        "population"
      ],
      "rows": 3066,
      "table": true,
      "tojson": true
    },
    {
      "name": "london_boroughs_map",
      "title": "London Borough Boundaries",
      "object": "london_boroughs_map",
      "class": [
        "sf",
        "data.frame"
      ],
      "fields": [
        "NAME",
        "GSS_CODE",
        "geometry"
      ],
      "rows": 33,
      "table": false,
      "tojson": true
    },
    {
      "name": "london_collisions",
      "title": "London Road Collisions (2022)",
      "object": "london_collisions",
      "class": [
        "data.frame"
      ],
      "fields": [
        "region_id",
        "borough",
        "population",
        "x",
        "y",
        "node_id",
        "cases"
      ],
      "rows": 1546,
      "table": true,
      "tojson": true
    },
    {
      "name": "london_tree",
      "title": "London Road Collisions - Hierarchy",
      "object": "london_tree",
      "class": [
        "data.frame"
      ],
      "fields": [
        "node_id",
        "parent_id"
      ],
      "rows": 81,
      "table": true,
      "tojson": true
    },
    {
      "name": "rj_mortality",
      "title": "Rio de Janeiro Infant Mortality (2016)",
      "object": "rj_mortality",
      "class": [
        "data.frame"
      ],
      "fields": [
        "region_id",
        "ibge_code",
        "name",
        "population",
        "live_births",
        "x",
        "y",
        "node_id",
        "cases"
      ],
      "rows": 1440,
      "table": true,
      "tojson": true
    },
    {
      "name": "rj_tree",
      "title": "Rio de Janeiro Infant Mortality - ICD-10 Tree",
      "object": "rj_tree",
      "class": [
        "data.frame"
      ],
      "fields": [
        "node_id",
        "parent_id"
      ],
      "rows": 622,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "treeSS-package",
      "title": "treeSS: Tree-Spatial Scan Statistic for Cluster Detection",
      "topics": [
        "treeSS-package",
        "treeSS"
      ]
    },
    {
      "page": "aggregate_tree",
      "title": "Aggregate Case Counts from Leaves to All Nodes in a Hierarchical Tree",
      "topics": [
        "aggregate_tree"
      ]
    },
    {
      "page": "build_zones",
      "title": "Build Candidate Spatial Zones Using Circular Windows",
      "topics": [
        "build_zones"
      ]
    },
    {
      "page": "chicago_crimes",
      "title": "Chicago Crime (2023)",
      "topics": [
        "chicago_crimes"
      ]
    },
    {
      "page": "chicago_map",
      "title": "Chicago Community Area Boundaries",
      "topics": [
        "chicago_map"
      ]
    },
    {
      "page": "chicago_tree",
      "title": "Chicago Crime - Hierarchy",
      "topics": [
        "chicago_tree"
      ]
    },
    {
      "page": "circular_scan",
      "title": "Kulldorff's Circular Spatial Scan Statistic",
      "topics": [
        "circular_scan"
      ]
    },
    {
      "page": "filter_clusters",
      "title": "Filter Overlapping Secondary Clusters",
      "topics": [
        "filter_clusters"
      ]
    },
    {
      "page": "fl_deaths",
      "title": "Florida General Mortality Data (2016)",
      "topics": [
        "fl_deaths"
      ]
    },
    {
      "page": "generate_example_data",
      "title": "Generate Example Data for Tree-Spatial Scan",
      "topics": [
        "generate_example_data"
      ]
    },
    {
      "page": "get_cluster_regions",
      "title": "Extract Cluster Membership for Each Region",
      "topics": [
        "get_cluster_regions",
        "get_cluster_regions.default",
        "get_cluster_regions.sequential_scan"
      ]
    },
    {
      "page": "london_boroughs_map",
      "title": "London Borough Boundaries",
      "topics": [
        "london_boroughs_map"
      ]
    },
    {
      "page": "london_collisions",
      "title": "London Road Collisions (2022)",
      "topics": [
        "london_collisions"
      ]
    },
    {
      "page": "london_tree",
      "title": "London Road Collisions - Hierarchy",
      "topics": [
        "london_tree"
      ]
    },
    {
      "page": "print.circular_scan",
      "title": "Print Method for circular_scan Objects",
      "topics": [
        "print.circular_scan"
      ]
    },
    {
      "page": "print.sequential_scan",
      "title": "Print Method for sequential_scan Objects",
      "topics": [
        "print.sequential_scan"
      ]
    },
    {
      "page": "print.tree_scan",
      "title": "Print Method for tree_scan Objects",
      "topics": [
        "print.tree_scan"
      ]
    },
    {
      "page": "print.treespatial_scan",
      "title": "Print Method for treespatial_scan Objects",
      "topics": [
        "print.treespatial_scan"
      ]
    },
    {
      "page": "rj_mortality",
      "title": "Rio de Janeiro Infant Mortality (2016)",
      "topics": [
        "rj_mortality"
      ]
    },
    {
      "page": "rj_tree",
      "title": "Rio de Janeiro Infant Mortality - ICD-10 Tree",
      "topics": [
        "rj_tree"
      ]
    },
    {
      "page": "sequential_scan",
      "title": "Sequential Scan for Secondary Clusters",
      "topics": [
        "sequential_scan"
      ]
    },
    {
      "page": "summary.circular_scan",
      "title": "Summary Method for circular_scan Objects",
      "topics": [
        "summary.circular_scan"
      ]
    },
    {
      "page": "summary.sequential_scan",
      "title": "Summary Method for sequential_scan Objects",
      "topics": [
        "summary.sequential_scan"
      ]
    },
    {
      "page": "summary.tree_scan",
      "title": "Summary Method for tree_scan Objects",
      "topics": [
        "summary.tree_scan"
      ]
    },
    {
      "page": "summary.treespatial_scan",
      "title": "Summary Method for treespatial_scan Objects",
      "topics": [
        "summary.treespatial_scan"
      ]
    },
    {
      "page": "tree_scan",
      "title": "Tree-Based Scan Statistic",
      "topics": [
        "tree_scan"
      ]
    },
    {
      "page": "treespatial_scan",
      "title": "Tree-Spatial Scan Statistic",
      "topics": [
        "treespatial_scan"
      ]
    }
  ],
  "_readme": "https://github.com/cran/treeSS/raw/HEAD/README.md",
  "_rundeps": [
    "Rcpp"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_vignettes": [
    {
      "source": "florida.Rmd",
      "filename": "florida.html",
      "title": "Building treeSS inputs from raw data: Florida mortality 2016",
      "engine": "knitr::rmarkdown",
      "headings": [
        "What this vignette adds",
        "1. Load the raw data",
        "2. Build the ICD-10 tree from the codes in the data",
        "3. Download polygons and centroids",
        "4. Assemble parallel vectors",
        "5. Run the tree-spatial scan",
        "6. Distinct secondary clusters (paper-faithful)",
        "7. Sequential scan when the MLC may shadow",
        "8. Visualise the clusters",
        "Recap",
        "References"
      ],
      "created": "2026-05-30 04:31:00",
      "modified": "2026-05-30 04:31:00",
      "commits": 1
    },
    {
      "source": "introduction.Rmd",
      "filename": "introduction.html",
      "title": "Introduction to treeSS: reproducing Cançado et al. (2025)",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Infant mortality in Rio de Janeiro",
        "Run the scan",
        "Why the joint scan matters here",
        "Multiple distinct clusters (paper-faithful)",
        "Visualising the cluster",
        "Secondary clusters when the MLC shadows weaker ones",
        "When to use which",
        "Computational notes",
        "Other examples shipped with the package",
        "References"
      ],
      "created": "2026-05-15 21:32:39",
      "modified": "2026-05-30 04:31:00",
      "commits": 2
    }
  ],
  "_score": 3.3010299956639813,
  "_indexed": false,
  "_nocasepkg": "treess",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://allanvc.r-universe.dev/treeSS",
  "_previous": "0.1.44",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.50",
      "date": "2026-05-30T09:45:04.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "77d049f544ac9695f5190b792d0828282e4850ef",
      "fileid": "76a2fcb79dadc32ee218472a0c74d2f4496247db941ca9c9960a173d61259c3e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26676825895"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.50",
      "date": "2026-05-30T10:08:32.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "77d049f544ac9695f5190b792d0828282e4850ef",
      "fileid": "576ece2dbd8e6bd3bf2766cc13b277855cc9bc3422ff69064220ba4b5ae1ea5c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26676825895"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.50",
      "date": "2026-05-30T09:45:04.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "77d049f544ac9695f5190b792d0828282e4850ef",
      "fileid": "b80cc3cbe211715b1d6b581270780f80592e62164847e6777d42ebbbffc5af1c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26676825895"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.50",
      "date": "2026-05-30T10:08:34.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "77d049f544ac9695f5190b792d0828282e4850ef",
      "fileid": "8f591ec1fd2cf0ecbe6196541d079ca6eddb7ac2e7cb26fd432106d2c81e12b7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26676825895"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.50",
      "date": "2026-05-30T10:08:34.000Z",
      "arch": "emscripten",
      "commit": "77d049f544ac9695f5190b792d0828282e4850ef",
      "fileid": "c120ed61e0e34d3b10682dc6fd420a5b2bb613762d2b0256e64c12f48e6e5f3b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26676825895"
    }
  ]
}