{
  "_id": "6a103c89acfb0bcc41c9bf23",
  "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-05-11 10:09:27 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>",
  "MD5sum": "5eb0015ea204ce7c462943d81b8cbf09",
  "_user": "javalake2023",
  "_type": "src",
  "_file": "spbal_1.0.0.tar.gz",
  "_fileid": "56f48ea9cb01ef39cec16aa4c250fe71e229f5cb8c8132d513dcd550ab6f425f",
  "_filesize": 1490113,
  "_sha256": "56f48ea9cb01ef39cec16aa4c250fe71e229f5cb8c8132d513dcd550ab6f425f",
  "_created": "2026-05-11T10:09:27.000Z",
  "_published": "2026-05-22T11:22:49.884Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77369616073,
      "time": 148,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6915762806"
    },
    {
      "job": 77369615538,
      "time": 157,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6915764854"
    },
    {
      "job": 77369615933,
      "time": 166,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6915767604"
    },
    {
      "job": 77369615953,
      "time": 149,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6915764717"
    },
    {
      "job": 77369615791,
      "time": 142,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6915810329"
    },
    {
      "job": 77369615427,
      "time": 320,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6915818927"
    },
    {
      "job": 77369615741,
      "time": 171,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6915790705"
    },
    {
      "job": 77369615447,
      "time": 306,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6915864525"
    },
    {
      "job": 77369614726,
      "time": 223,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6915713643"
    },
    {
      "job": 77369614918,
      "time": 120,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7159297841"
    },
    {
      "job": 77369615696,
      "time": 112,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6915750619"
    },
    {
      "job": 77369615934,
      "time": 113,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6915750838"
    },
    {
      "job": 77369615725,
      "time": 99,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6915746316"
    }
  ],
  "_buildurl": "https://github.com/r-universe/javalake2023/actions/runs/25663654936",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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",
    "uuid": 128135899
  },
  "_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"
  },
  "_downloads": {
    "count": 194,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/spbal"
  },
  "_devurl": "https://github.com/javalake2023/spbal",
  "_searchresults": 4,
  "_topics": [
    "cpp"
  ],
  "_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/spbal.html",
    "manual.pdf"
  ],
  "_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",
    "MASS",
    "proxy",
    "Rcpp",
    "RcppThread",
    "s2",
    "sf",
    "units",
    "wk"
  ],
  "_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"
    }
  ],
  "_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.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "spbal",
  "_universes": [
    "javalake2023"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-05-11T10:11:57.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "85e54a50e7d3f667ff0673203625977a28478dfc",
      "fileid": "d245d72e3b9e1b1fe2c6cc5f63cfb35dba04ad51350e3580e26b2fad4205bfb5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/javalake2023/actions/runs/25663654936"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-05-11T10:12:00.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "85e54a50e7d3f667ff0673203625977a28478dfc",
      "fileid": "75f5321de498f17f8be4a732473977ed489fe9b49038d54fcedb8fbc46630d9f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/javalake2023/actions/runs/25663654936"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-05-11T10:12:12.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "85e54a50e7d3f667ff0673203625977a28478dfc",
      "fileid": "74faed88a7041f632c79de3773ce8902286a0413841391c1abd7cd924676e97b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/javalake2023/actions/runs/25663654936"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-05-11T10:12:01.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "85e54a50e7d3f667ff0673203625977a28478dfc",
      "fileid": "86a9524e6bb229486ec47684d5c592b15f0b7cd02c8a6cb2a9045315c3262abc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/javalake2023/actions/runs/25663654936"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-05-11T10:14:29.000Z",
      "arch": "aarch64",
      "commit": "85e54a50e7d3f667ff0673203625977a28478dfc",
      "fileid": "7f43b8d23de6ef0d05d039de1766deec36a531ea27fd2eb0b0935f82e262ee0f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/javalake2023/actions/runs/25663654936"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-05-11T10:14:16.000Z",
      "arch": "x86_64",
      "commit": "85e54a50e7d3f667ff0673203625977a28478dfc",
      "fileid": "abe9037612e6d779a2d72e310fc66c975586588d7f9b6a3b2f122a652916af16",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/javalake2023/actions/runs/25663654936"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-05-11T10:13:22.000Z",
      "arch": "aarch64",
      "commit": "85e54a50e7d3f667ff0673203625977a28478dfc",
      "fileid": "b64cb9b49aca5a522ec39f90205ab5465151507a12fa51c6abe2eeb8459ad32f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/javalake2023/actions/runs/25663654936"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-05-11T10:16:49.000Z",
      "arch": "x86_64",
      "commit": "85e54a50e7d3f667ff0673203625977a28478dfc",
      "fileid": "9582a405d9f0afb66992b95349abba9a5e7d6755f54574ef9ec2d8da25c7e6d5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/javalake2023/actions/runs/25663654936"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-11T10:10:48.000Z",
      "arch": "x86_64",
      "commit": "85e54a50e7d3f667ff0673203625977a28478dfc",
      "fileid": "5b7579224340d00283c6d9ea3e14e58e37dc46f78d8ab82e6ce5854101dd69f8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/javalake2023/actions/runs/25663654936"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-11T10:10:55.000Z",
      "arch": "x86_64",
      "commit": "85e54a50e7d3f667ff0673203625977a28478dfc",
      "fileid": "8e45b89df98d8a8cf3a6b0bcfb7e654d01d42af9931ef4d3f2e78b61df56209d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/javalake2023/actions/runs/25663654936"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-11T10:10:43.000Z",
      "arch": "x86_64",
      "commit": "85e54a50e7d3f667ff0673203625977a28478dfc",
      "fileid": "59a3521576ffa232128a1c887ff4a322844317db5f332c5d1e1b753c404a6764",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/javalake2023/actions/runs/25663654936"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-05-22T11:22:23.000Z",
      "arch": "emscripten",
      "commit": "85e54a50e7d3f667ff0673203625977a28478dfc",
      "fileid": "d47f888b6683e25e93a37429e510a1ae6a8488e7a3064ef6706c1dff952389f0",
      "status": "success",
      "buildurl": "https://github.com/r-universe/javalake2023/actions/runs/25663654936"
    }
  ]
}