{
  "_id": "6ac753f2de46216d5edce6ab",
  "Package": "spbal",
  "Type": "Package",
  "Title": "Spatially Balanced Sampling Algorithms",
  "Version": "1.0.0",
  "Authors@R": "c(\nperson(\"Phil\", \"Davies\", email = \"philip.davies@canterbury.ac.nz\", role = c(\"aut\", \"cre\")),\nperson(\"Blair\", \"Robertson\", email = \"blair.robertson@canterbury.ac.nz\", role = c(\"aut\")),\nperson(\"Paul\", \"van Dam-Bates\", email = \"paul.vandambates@gmail.com\", role = c(\"aut\")),\nperson(\"Oliver\", \"Gansell\", email = \"ogansell@doc.govt.nz\", role = c(\"aut\")))",
  "Description": "Encapsulates a number of spatially balanced sampling\nalgorithms, namely, Balanced Acceptance Sampling (equal,\nunequal, seed point, panels), Halton frames (for discretizing a\ncontinuous resource), Halton Iterative Partitioning (equal\nprobability) and Simple Random Sampling. Robertson, B. L.,\nBrown, J. A., McDonald, T. and Jaksons, P. (2013)\n<doi:10.1111/biom.12059>. Robertson, B. L., McDonald, T.,\nPrice, C. J. and Brown, J. A. (2017)\n<doi:10.1016/j.spl.2017.05.004>. Robertson, B. L., McDonald,\nT., Price, C. J. and Brown, J. A. (2018)\n<doi:10.1007/s10651-018-0406-6>. Robertson, B. L., van\nDam-Bates, P. and Gansell, O. (2021a)\n<doi:10.1007/s10651-020-00481-1>.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "SystemRequirements": "C++17",
  "VignetteBuilder": "knitr",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.1",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibssl-dev libproj-dev libsqlite3-dev libudunits2-dev",
  "Repository": "https://javalake2023.r-universe.dev",
  "Date/Publication": "2024-05-31 09:42:24 UTC",
  "RemoteUrl": "https://github.com/javalake2023/spbal",
  "RemoteRef": "HEAD",
  "RemoteSha": "85e54a50e7d3f667ff0673203625977a28478dfc",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-08 08:19:47 UTC",
    "User": "root"
  },
  "Author": "Phil Davies [aut, cre],\nBlair Robertson [aut],\nPaul van Dam-Bates [aut],\nOliver Gansell [aut]",
  "Maintainer": "Phil Davies <philip.davies@canterbury.ac.nz>",
  "_user": "javalake2023",
  "_type": "src",
  "_file": "spbal_1.0.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/b1605a13eea7f3000fc9b6e6f3f96aa4110f18874ba3048adcb988360dd5e8e8",
  "_filesize": 1487557,
  "_sha256": "b1605a13eea7f3000fc9b6e6f3f96aa4110f18874ba3048adcb988360dd5e8e8",
  "_expires": "2027-01-16T08:27:28.000Z",
  "_created": "2026-10-08T08:19:47.000Z",
  "_published": "2026-10-08T08:27:30.657Z",
  "_buildurl": "https://github.com/r-universe/javalake2023/actions/runs/37748691600",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 113217814792,
      "time": 140,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11537133997"
    },
    {
      "job": 113217814760,
      "time": 132,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11537695178"
    },
    {
      "job": 113217814808,
      "time": 131,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11536549057"
    },
    {
      "job": 113217815023,
      "time": 144,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11537083221"
    },
    {
      "job": 113217814745,
      "time": 136,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11536854404"
    },
    {
      "job": 113217814693,
      "time": 293,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11536464707"
    },
    {
      "job": 113217814877,
      "time": 171,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11537123541"
    },
    {
      "job": 113217814794,
      "time": 258,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11537027826"
    },
    {
      "job": 113216402124,
      "time": 232,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11537178415"
    },
    {
      "job": 113217814687,
      "time": 141,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11537570795"
    },
    {
      "job": 113217815043,
      "time": 356,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11537411479"
    },
    {
      "job": 113217814770,
      "time": 132,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11536918599"
    },
    {
      "job": 113217814891,
      "time": 106,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11537037931"
    },
    {
      "job": 113217814837,
      "time": 412,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11537880087"
    },
    {
      "job": 113217814983,
      "time": 121,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11537600174"
    }
  ],
  "_upstream": "https://github.com/javalake2023/spbal",
  "_commit": {
    "id": "85e54a50e7d3f667ff0673203625977a28478dfc",
    "author": "Phil Davies <philip.davies@canterbury.ac.nz>",
    "committer": "Phil Davies <philip.davies@canterbury.ac.nz>",
    "message": "Add docs directory.\n",
    "time": 1717148544
  },
  "_maintainer": {
    "name": "Phil Davies",
    "email": "philip.davies@canterbury.ac.nz",
    "login": "javalake2023",
    "description": "",
    "uuid": 128135899
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.6.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppThread",
      "role": "LinkingTo"
    },
    {
      "package": "units",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "bookdown",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "gridExtra",
      "role": "Suggests"
    }
  ],
  "_owner": "javalake2023",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "javalake2023",
      "count": 19,
      "uuid": 128135899
    }
  ],
  "_userbio": {
    "uuid": 128135899,
    "type": "user",
    "name": "javalake2023",
    "followers": 0
  },
  "_downloads": {
    "count": 277,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/spbal"
  },
  "_devurl": "https://github.com/javalake2023/spbal",
  "_searchresults": 11,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/spbal.html",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/javalake2023/spbal",
  "_realowner": "javalake2023",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2024-05-17"
    },
    {
      "version": "1.0.1",
      "date": "2025-03-28"
    }
  ],
  "_exports": [
    "BAS",
    "BoundingBox",
    "cppBASpts",
    "cppBASptsIndexed",
    "cppRSHalton_br",
    "getPanel",
    "getSample",
    "HaltonFrame",
    "HIP",
    "SRS"
  ],
  "_help": [
    {
      "page": "BAS",
      "title": "Balanced Acceptance Sampling (BAS).",
      "topics": [
        "BAS"
      ]
    },
    {
      "page": "BoundingBox",
      "title": "Create a bounding box for a study region.",
      "topics": [
        "BoundingBox"
      ]
    },
    {
      "page": "cppBASpts",
      "title": "Generate numbers from a Halton Sequence.",
      "topics": [
        "cppBASpts"
      ]
    },
    {
      "page": "cppBASptsIndexed",
      "title": "Generate numbers from a Halton Sequence along a specified set of indices.",
      "topics": [
        "cppBASptsIndexed"
      ]
    },
    {
      "page": "cppRSHalton_br",
      "title": "Generate numbers from a Halton Sequence with a random start",
      "topics": [
        "cppRSHalton_br"
      ]
    },
    {
      "page": "getPanel",
      "title": "Extract all points with a specified panel id from a sample.",
      "topics": [
        "getPanel"
      ]
    },
    {
      "page": "getSample",
      "title": "Extract a sample of a specified size from a master sample.",
      "topics": [
        "getSample"
      ]
    },
    {
      "page": "HaltonFrame",
      "title": "Create a Halton Frame.",
      "topics": [
        "HaltonFrame"
      ]
    },
    {
      "page": "HIP",
      "title": "Halton Iterative Partitioning (HIP).",
      "topics": [
        "HIP"
      ]
    },
    {
      "page": "SRS",
      "title": "Simple random sampling.",
      "topics": [
        "SRS"
      ]
    }
  ],
  "_readme": "https://github.com/javalake2023/spbal/raw/HEAD/README.md",
  "_rundeps": [
    "class",
    "classInt",
    "DBI",
    "e1071",
    "KernSmooth",
    "proxy",
    "Rcpp",
    "RcppThread",
    "s2",
    "sf",
    "units",
    "wk"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "spbal.Rmd",
      "filename": "spbal.html",
      "title": "spbal - Spatially Balanced Sampling",
      "author": "spbal 1.0.0",
      "engine": "knitr::rmarkdown",
      "headings": [
        "spbal",
        "Simple Random Sampling (SRS)",
        "spbal::SRS()",
        "spbal::SRS() code example",
        "Balanced Acceptance Samples (BAS)",
        "spbal::BAS()",
        "spbal::BAS() code examples",
        "Equal probability BAS sample.",
        "Increase the BAS sample size.",
        "Stratified BAS Sample.",
        "Increasing or decreasing strata sample sizes.",
        "Non-Overlapping panel design.",
        "Overlapping panel design.",
        "Halton Frame (HF)",
        "spbal::HaltonFrame()",
        "spbal::HaltonFrame() code example",
        "Halton frame fine grid",
        "Spatially balanced sample from a random position",
        "Halton frame overlapping panel design.",
        "Halton Frame Stratified sample.",
        "Panel Design from Halton Frame",
        "Halton Iterative Partitioning (HIP)",
        "spbal::HIP()",
        "spbal::HIP() code example",
        "Forcing a minimum distance between sites",
        "HIP Panel Design",
        "More Details",
        "getSample",
        "Non-Stratified samples",
        "Stratified samples",
        "getPanel",
        "The End"
      ],
      "created": "2024-05-01 10:58:07",
      "modified": "2024-05-17 07:18:14",
      "commits": 6
    }
  ],
  "_score": 3.740362689494244,
  "_indexed": true,
  "_nocasepkg": "spbal",
  "_universes": [
    "javalake2023"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-10-08T08:22:07.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "85e54a50e7d3f667ff0673203625977a28478dfc",
      "fileid": "https://r2.ropensci.org/b091cc26db87572ae66ec16366d3049ad4421924e863f0f2dea101ecc33e6649",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/javalake2023/actions/runs/37748691600"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-10-08T08:21:56.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "85e54a50e7d3f667ff0673203625977a28478dfc",
      "fileid": "https://r2.ropensci.org/97657b582469568c9117d62197f853a021cbacbc55028c19f972393fe34ece7d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/javalake2023/actions/runs/37748691600"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-10-08T08:22:01.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "85e54a50e7d3f667ff0673203625977a28478dfc",
      "fileid": "https://r2.ropensci.org/cf09edaae5ceace5900de38d50daacf02fc45fe8415fd2eebe092af13064b76e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/javalake2023/actions/runs/37748691600"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-10-08T08:22:08.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "85e54a50e7d3f667ff0673203625977a28478dfc",
      "fileid": "https://r2.ropensci.org/3536042085f992c1890989e9bc54f4ff1929b219e7a9f955ad669d883701bd1c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/javalake2023/actions/runs/37748691600"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-10-08T08:24:58.000Z",
      "arch": "aarch64",
      "commit": "85e54a50e7d3f667ff0673203625977a28478dfc",
      "fileid": "https://r2.ropensci.org/3d583ee6a088571d3923926b7221a2798042c5fffb6bcc8815b3471fd88ceb7d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/javalake2023/actions/runs/37748691600"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-10-08T08:23:53.000Z",
      "arch": "x86_64",
      "commit": "85e54a50e7d3f667ff0673203625977a28478dfc",
      "fileid": "https://r2.ropensci.org/a82f116d571305d43cf0b34502df380a4c07cd227e9892fcb3868e6115e52eeb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/javalake2023/actions/runs/37748691600"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-10-08T08:24:58.000Z",
      "arch": "aarch64",
      "commit": "85e54a50e7d3f667ff0673203625977a28478dfc",
      "fileid": "https://r2.ropensci.org/f5fac3e931d3d622a64b46d293d75cf5af4f1602029d59666f1885486f27f88b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/javalake2023/actions/runs/37748691600"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-10-08T08:24:51.000Z",
      "arch": "x86_64",
      "commit": "85e54a50e7d3f667ff0673203625977a28478dfc",
      "fileid": "https://r2.ropensci.org/3eed7afcfce89306fbe2ee68f539a12042ac6af4f288e2266e2ff4ec175d18fd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/javalake2023/actions/runs/37748691600"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-10-08T08:22:22.000Z",
      "arch": "emscripten",
      "commit": "85e54a50e7d3f667ff0673203625977a28478dfc",
      "fileid": "https://r2.ropensci.org/b639a33ee2c9978cee60703e288b39aa051fc730ef442910dc9e3b7d51beaa6e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/javalake2023/actions/runs/37748691600"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-08T08:24:54.000Z",
      "arch": "aarch64",
      "commit": "85e54a50e7d3f667ff0673203625977a28478dfc",
      "fileid": "https://r2.ropensci.org/65508596c8d827a2958ddd2921050f8265ba8d27d9f6ea090204cd30c4c67c1d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/javalake2023/actions/runs/37748691600"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-08T08:21:00.000Z",
      "arch": "x86_64",
      "commit": "85e54a50e7d3f667ff0673203625977a28478dfc",
      "fileid": "https://r2.ropensci.org/01a767b0fe5e36892f160f6f866b33e9410ded70a4b0e828c127e736154c53b4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/javalake2023/actions/runs/37748691600"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-08T08:21:01.000Z",
      "arch": "x86_64",
      "commit": "85e54a50e7d3f667ff0673203625977a28478dfc",
      "fileid": "https://r2.ropensci.org/3ec093120c100908639f5f8a4522d70b13291315e38c0dd7c5098c9b75922bb9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/javalake2023/actions/runs/37748691600"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-08T08:26:00.000Z",
      "arch": "aarch64",
      "commit": "85e54a50e7d3f667ff0673203625977a28478dfc",
      "fileid": "https://r2.ropensci.org/b8f1112ccdb5f0e4c583d69d244c370b35b1ccc9eb7315d98f4965a30336c894",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/javalake2023/actions/runs/37748691600"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-08T08:21:17.000Z",
      "arch": "x86_64",
      "commit": "85e54a50e7d3f667ff0673203625977a28478dfc",
      "fileid": "https://r2.ropensci.org/d740d66ce3a898e6aaa081e3b065554cfba0a3755a9cd92fe88551b3b728c4fd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/javalake2023/actions/runs/37748691600"
    }
  ]
}