{
  "_id": "6ae4c39295ca2370cc8d01da",
  "Package": "spbal",
  "Type": "Package",
  "Title": "Spatially Balanced Sampling Algorithms",
  "Version": "1.1.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), Simple Random Sampling, Dynamic Assignment\nSampling and Doubly balanced Dynamic Assignment Sampling.\nRobertson, B. L., Brown, J. A., McDonald, T. and Jaksons, P.\n(2013) <doi:10.1111/biom.12059>. Robertson, B. L., McDonald,\nT., Price, 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>. Robertson, B. L., Davies, P.,\nGansell, O., van Dam-Bates, P., McDonald, T. (2025)\n<doi:10.1111/anzs.12435>. Robertson, B.L., Price, C.J., Reale,\nM., Davies, P. (2026) <doi:10.1093/biomtc/ujag011>. Robertson,\nB.L., Price, C.J., Reale, M., Davies, P. (2026)\n<doi:10.1093/jssam/smag021>.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "SystemRequirements": "C++17",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/roxygen2/version": "8.1.0",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-30 16:14:09 UTC",
    "User": "root"
  },
  "Author": "Phil Davies [aut, cre], Blair Robertson [aut], Paul van\nDam-Bates [aut], Oliver Gansell [aut]",
  "Maintainer": "Phil Davies <philip.davies@canterbury.ac.nz>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-10-30 14:28:22 UTC",
  "RemoteUrl": "https://github.com/cran/spbal",
  "RemoteRef": "HEAD",
  "RemoteSha": "067f8a2edb5cf0098bc4b9a7efec0207a9ed0409",
  "_user": "cran",
  "_type": "src",
  "_file": "spbal_1.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/8e604b9277f45a6e1800f37fc3ed6a31f1517f22d9bc6c475900113d4e19b33d",
  "_filesize": 2164029,
  "_sha256": "8e604b9277f45a6e1800f37fc3ed6a31f1517f22d9bc6c475900113d4e19b33d",
  "_expires": "2027-02-07T16:19:28.000Z",
  "_created": "2026-10-30T16:14:09.000Z",
  "_published": "2026-10-30T16:19:30.441Z",
  "_upstream": "https://github.com/cran/spbal",
  "_status": "success",
  "_maintainer": {
    "name": "Phil Davies",
    "email": "philip.davies@canterbury.ac.nz",
    "login": "javalake2023",
    "description": "",
    "uuid": 128135899
  },
  "_jobs": [
    {
      "job": 124174545463,
      "time": 149,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12992118611"
    },
    {
      "job": 124174545593,
      "time": 160,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12992822669"
    },
    {
      "job": 124174545619,
      "time": 146,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12991969096"
    },
    {
      "job": 124174545627,
      "time": 191,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12992273791"
    },
    {
      "job": 124172013348,
      "time": 285,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12992478024"
    },
    {
      "job": 124174545290,
      "time": 143,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12992108730"
    },
    {
      "job": 124174545748,
      "time": 228,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12993405649"
    },
    {
      "job": 124174545599,
      "time": 133,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12991579849"
    },
    {
      "job": 124174545550,
      "time": 253,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12992573844"
    },
    {
      "job": 124174545639,
      "time": 138,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12992886394"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/41087338375",
  "_commit": {
    "id": "067f8a2edb5cf0098bc4b9a7efec0207a9ed0409",
    "author": "Phil Davies <philip.davies@canterbury.ac.nz>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.1.0\n",
    "time": 1793370502
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.6.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "RcppThread",
      "role": "LinkingTo"
    },
    {
      "package": "units",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.0",
      "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"
    },
    {
      "package": "reshape2",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-44",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.1.0",
      "date": "2026-10-30"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "javalake2023",
      "count": 3,
      "uuid": 128135899
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 634,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 249,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/spbal"
  },
  "_searchresults": 10,
  "_topics": [
    "openblas",
    "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": false,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2024-05-17"
    },
    {
      "version": "1.0.1",
      "date": "2025-03-28"
    },
    {
      "version": "1.1.0",
      "date": "2026-10-30"
    }
  ],
  "_exports": [
    "arma_dist_al",
    "BAS",
    "BoundingBox",
    "cppBASpts",
    "cppBASptsIndexed",
    "cppRSHalton_br",
    "DAS",
    "DoubleAssignmentProblem_cpp",
    "doubleDAS",
    "getPanel",
    "getSample",
    "HaltonFrame",
    "HIP",
    "LinearAssignmentProblem_cpp",
    "native_lapjv",
    "SRS"
  ],
  "_help": [
    {
      "page": "arma_dist_al",
      "title": "Calculate a distance matrix.",
      "topics": [
        "arma_dist_al"
      ]
    },
    {
      "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": "DAS",
      "title": "Dynamic Assignment Sampling (DAS).",
      "topics": [
        "DAS"
      ]
    },
    {
      "page": "DoubleAssignmentProblem_cpp",
      "title": "Grow a doubly balanced DAS master sample.",
      "topics": [
        "DoubleAssignmentProblem_cpp"
      ]
    },
    {
      "page": "doubleDAS",
      "title": "Doubly balanced Dynamic Assignment Sampling (doubleDAS).",
      "topics": [
        "doubleDAS"
      ]
    },
    {
      "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": "LinearAssignmentProblem_cpp",
      "title": "Grow a DAS master sample by successive linear assignments.",
      "topics": [
        "LinearAssignmentProblem_cpp"
      ]
    },
    {
      "page": "native_lapjv",
      "title": "Solve the Linear Assignment Problem.",
      "topics": [
        "native_lapjv"
      ]
    },
    {
      "page": "SRS",
      "title": "Simple random sampling.",
      "topics": [
        "SRS"
      ]
    }
  ],
  "_readme": "https://github.com/cran/spbal/raw/HEAD/README.md",
  "_rundeps": [
    "class",
    "classInt",
    "DBI",
    "e1071",
    "KernSmooth",
    "proxy",
    "Rcpp",
    "RcppArmadillo",
    "RcppThread",
    "s2",
    "sf",
    "units",
    "wk"
  ],
  "_sysdeps": [
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "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": "DAS-doubleDAS-User-Guide-v1.Rmd",
      "filename": "DAS-doubleDAS-User-Guide-v1.html",
      "title": "DAS and doubleDAS User Guide",
      "engine": "knitr::rmarkdown",
      "headings": [
        "DAS",
        "DAS Parameters",
        "Additional DAS Parameters",
        "Generate Sample",
        "doubleDAS",
        "doubleDAS Parameters",
        "Additional doubleDAS Parameters",
        "The End"
      ],
      "created": "2026-10-30 14:28:22",
      "modified": "2026-10-30 14:28:22",
      "commits": 1
    },
    {
      "source": "spbal.Rmd",
      "filename": "spbal.html",
      "title": "spbal - Spatially Balanced Sampling",
      "author": "spbal 1.1.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",
        "Dynamic Assignment Sampling (DAS)",
        "Doubly balanced Dynamic Assignment Sampling (doubleDAS)",
        "The End"
      ],
      "created": "2024-05-18 02:39:09",
      "modified": "2026-10-30 14:28:22",
      "commits": 3
    }
  ],
  "_score": 3,
  "_indexed": false,
  "_nocasepkg": "spbal",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://javalake2023.r-universe.dev/spbal",
  "_previous": "1.0.1",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-10-30T16:16:43.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "067f8a2edb5cf0098bc4b9a7efec0207a9ed0409",
      "fileid": "https://r2.ropensci.org/eb21d8400c16612c6d1855450fea5f0e579b9ee0e238d31ccda5357bb352ccb5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41087338375"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-10-30T16:17:30.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "067f8a2edb5cf0098bc4b9a7efec0207a9ed0409",
      "fileid": "https://r2.ropensci.org/719ed050bbaa2c1c5390e32d6b39453fcd8388c40d7f7ca7e67b81b05047eca2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41087338375"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-10-30T16:16:43.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "067f8a2edb5cf0098bc4b9a7efec0207a9ed0409",
      "fileid": "https://r2.ropensci.org/7a4f55e652eb191c5b9aa6f4336920fccb9a4434e997931be55d001c3bd9d30a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41087338375"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-10-30T16:17:27.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "067f8a2edb5cf0098bc4b9a7efec0207a9ed0409",
      "fileid": "https://r2.ropensci.org/46f1890c817baed30d3d4227ae36c0f703c0cbf3f6e1832320a13219bc3776f9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41087338375"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.0",
      "date": "2026-10-30T16:17:18.000Z",
      "arch": "emscripten",
      "commit": "067f8a2edb5cf0098bc4b9a7efec0207a9ed0409",
      "fileid": "https://r2.ropensci.org/f63be9fc5eb83aec5505497ca0177a0f2d7313bf6cec2e8fd9aec4776200d471",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41087338375"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-10-30T16:17:33.000Z",
      "arch": "aarch64",
      "commit": "067f8a2edb5cf0098bc4b9a7efec0207a9ed0409",
      "fileid": "https://r2.ropensci.org/ecef69f9bbffd5abb69514c5a89ea5b2b279812b2d38147937e7037bbdf7659f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41087338375"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-10-30T16:15:36.000Z",
      "arch": "x86_64",
      "commit": "067f8a2edb5cf0098bc4b9a7efec0207a9ed0409",
      "fileid": "https://r2.ropensci.org/a3602140f2267787f8a2fb761490c6972a5374e2cdea68e8418780469c01cbac",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41087338375"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-10-30T16:18:01.000Z",
      "arch": "aarch64",
      "commit": "067f8a2edb5cf0098bc4b9a7efec0207a9ed0409",
      "fileid": "https://r2.ropensci.org/8147d316763ae66e0af53f5ddd0513de48e372f5bcd18de9cf921c064f9a3638",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41087338375"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-10-30T16:15:53.000Z",
      "arch": "x86_64",
      "commit": "067f8a2edb5cf0098bc4b9a7efec0207a9ed0409",
      "fileid": "https://r2.ropensci.org/92d1809f7164deccce206bffcabe05aa95ae55c1a9c58fac53f1f6957f869af8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41087338375"
    }
  ]
}