{
  "_id": "6acbb2a4fe5cc25786e927dc",
  "Package": "BalancedSampling",
  "Type": "Package",
  "Title": "Balanced and Spatially Balanced Sampling",
  "Version": "2.1.1",
  "Date": "2024-11-15",
  "Authors@R": "c(\nperson(\"Anton\", \"Grafström\", email = \"anton.grafstrom@gmail.com\", role = c(\"aut\", \"cre\"), comment = c(ORCID = \"0000-0002-4345-4024\")),\nperson(\"Wilmer\", \"Prentius\", email = \"wilmer.prentius@slu.se\", role = c(\"aut\"), comment = c(ORCID = \"0000-0002-3561-290X\")),\nperson(\"Jonathan\", \"Lisic\", role = c(\"ctb\"))\n)",
  "Author": "Anton Grafström [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-4345-4024>), Wilmer Prentius [aut]\n(ORCID: <https://orcid.org/0000-0002-3561-290X>), Jonathan\nLisic [ctb]",
  "Maintainer": "Anton Grafström <anton.grafstrom@gmail.com>",
  "Description": "Select balanced and spatially balanced probability samples\nin multi-dimensional spaces with any prescribed inclusion\nprobabilities. It contains fast (C++ via Rcpp) implementations\nof the included sampling methods. The local pivotal method by\nGrafström, Lundström and Schelin (2012)\n<doi:10.1111/j.1541-0420.2011.01699.x> and spatially correlated\nPoisson sampling by Grafström (2012)\n<doi:10.1016/j.jspi.2011.07.003> are included. Also the cube\nmethod (for balanced sampling) and the local cube method (for\ndoubly balanced sampling) are included, see Grafström and Tillé\n(2013) <doi:10.1002/env.2194>.",
  "License": "AGPL-3",
  "Encoding": "UTF-8",
  "URL": "https://www.envisim.se/,\nhttps://github.com/envisim/BalancedSampling/",
  "NeedsCompilation": "yes",
  "RoxygenNote": "7.3.2",
  "Roxygen": "list(markdown = TRUE)",
  "Repository": "https://envisim.r-universe.dev",
  "Date/Publication": "2024-11-15 16:08:36 UTC",
  "RemoteUrl": "https://github.com/envisim/balancedsampling",
  "RemoteRef": "HEAD",
  "RemoteSha": "396e86b399c8d3b74f7e807b855fa887702ee51f",
  "Packaged": {
    "Date": "2026-10-11 15:48:45 UTC",
    "User": "root"
  },
  "_user": "envisim",
  "_type": "src",
  "_file": "BalancedSampling_2.1.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/31722c274248783e02b0c51db99aa19723aec7f6729c0c4a77ac6bf362d7347c",
  "_filesize": 163518,
  "_sha256": "31722c274248783e02b0c51db99aa19723aec7f6729c0c4a77ac6bf362d7347c",
  "_expires": "2027-01-19T16:00:34.000Z",
  "_created": "2026-10-11T15:48:45.000Z",
  "_published": "2026-10-11T16:00:36.281Z",
  "_buildurl": "https://github.com/r-universe/envisim/actions/runs/38152696468",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114509847030,
      "time": 148,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11707302874"
    },
    {
      "job": 114509847077,
      "time": 105,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11707487416"
    },
    {
      "job": 114509847110,
      "time": 96,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11707432483"
    },
    {
      "job": 114509847148,
      "time": 129,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11707103248"
    },
    {
      "job": 114509847061,
      "time": 124,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11707268819"
    },
    {
      "job": 114509847009,
      "time": 192,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11707323069"
    },
    {
      "job": 114509847025,
      "time": 149,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11707293628"
    },
    {
      "job": 114509847071,
      "time": 330,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11707058871"
    },
    {
      "job": 114509288339,
      "time": 157,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11707426319"
    },
    {
      "job": 114509846962,
      "time": 111,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11707287799"
    },
    {
      "job": 114509847081,
      "time": 243,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11707646286"
    },
    {
      "job": 114509847085,
      "time": 181,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11706898707"
    },
    {
      "job": 114509847091,
      "time": 122,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11706868559"
    },
    {
      "job": 114509847040,
      "time": 250,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11707616293"
    },
    {
      "job": 114509847031,
      "time": 131,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11706769108"
    }
  ],
  "_upstream": "https://github.com/envisim/balancedsampling",
  "_commit": {
    "id": "396e86b399c8d3b74f7e807b855fa887702ee51f",
    "author": "wpmg <wilmer.prentius@slu.se>",
    "committer": "wpmg <wilmer.prentius@slu.se>",
    "message": "Release 2.1.1\n",
    "time": 1731686916
  },
  "_maintainer": {
    "name": "Anton Grafström",
    "email": "anton.grafstrom@gmail.com",
    "login": "antongrafstrom",
    "description": "",
    "uuid": 3485951,
    "orcid": "0000-0002-4345-4024"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.13",
      "role": "Imports"
    }
  ],
  "_owner": "envisim",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [],
  "_tags": [],
  "_stars": 3,
  "_contributors": [
    {
      "user": "wpmg",
      "count": 84,
      "uuid": 24628344
    },
    {
      "user": "antongrafstrom",
      "count": 3,
      "uuid": 3485951
    }
  ],
  "_userbio": {
    "uuid": 125958372,
    "type": "organization",
    "name": "envisim",
    "followers": 1
  },
  "_downloads": {
    "count": 2049,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/BalancedSampling"
  },
  "_mentions": 2,
  "_devurl": "https://github.com/envisim/balancedsampling",
  "_searchresults": 88,
  "_topics": [
    "openblas",
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/BalancedSampling.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf"
  ],
  "_homeurl": "https://github.com/envisim/balancedsampling",
  "_realowner": "envisim",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0",
      "date": "2014-03-24"
    },
    {
      "version": "1.4",
      "date": "2014-05-02"
    },
    {
      "version": "1.5.1",
      "date": "2016-01-27"
    },
    {
      "version": "1.5.2",
      "date": "2016-07-04"
    },
    {
      "version": "1.5.3",
      "date": "2018-08-14"
    },
    {
      "version": "1.5.4",
      "date": "2018-09-10"
    },
    {
      "version": "1.5.5",
      "date": "2019-03-04"
    },
    {
      "version": "1.6.3",
      "date": "2022-06-29"
    },
    {
      "version": "2.0.5",
      "date": "2024-02-23"
    },
    {
      "version": "2.0.6",
      "date": "2024-03-01"
    },
    {
      "version": "2.1.1",
      "date": "2024-11-18"
    }
  ],
  "_exports": [
    "cube",
    "cubestratified",
    "genpopPoisson",
    "genpopUniform",
    "getPips",
    "hlpm2",
    "lcps",
    "lcube",
    "lcubestratified",
    "lpm",
    "lpm1",
    "lpm1s",
    "lpm2",
    "rpm",
    "sb",
    "sblb",
    "scps",
    "spm",
    "vsb"
  ],
  "_help": [
    {
      "page": "cube",
      "title": "The Cube method",
      "concept": [
        "sampling"
      ],
      "topics": [
        "cube",
        "cubestratified"
      ]
    },
    {
      "page": "genpopUniform",
      "title": "Generate populations",
      "topics": [
        "genpopPoisson",
        "genpopUniform"
      ]
    },
    {
      "page": "getPips",
      "title": "Inclusion probabilities proportional-to-size",
      "concept": [
        "utils"
      ],
      "topics": [
        "getPips"
      ]
    },
    {
      "page": "hlpm2",
      "title": "Hierarchical Local Pivotal Method 2",
      "concept": [
        "sampling"
      ],
      "topics": [
        "hlpm2"
      ]
    },
    {
      "page": "lcube",
      "title": "The Local Cube method",
      "concept": [
        "sampling"
      ],
      "topics": [
        "lcube",
        "lcubestratified"
      ]
    },
    {
      "page": "lpm",
      "title": "The (Local) Pivotal Methods",
      "concept": [
        "sampling"
      ],
      "topics": [
        "lpm",
        "lpm1",
        "lpm1s",
        "lpm2",
        "rpm",
        "spm"
      ]
    },
    {
      "page": "sb",
      "title": "Spatial balance",
      "concept": [
        "measure"
      ],
      "topics": [
        "sb",
        "sblb"
      ]
    },
    {
      "page": "scps",
      "title": "Spatially Correlated Poisson Sampling",
      "concept": [
        "sampling"
      ],
      "topics": [
        "lcps",
        "scps"
      ]
    },
    {
      "page": "vsb",
      "title": "Variance estimator for spatially balanced samples",
      "concept": [
        "measure"
      ],
      "topics": [
        "vsb"
      ]
    }
  ],
  "_rundeps": [
    "Rcpp",
    "RcppArmadillo"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "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": "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"
    }
  ],
  "_score": 4.51129713565467,
  "_indexed": true,
  "_nocasepkg": "balancedsampling",
  "_universes": [
    "envisim",
    "antongrafstrom"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.1.1",
      "date": "2026-10-11T15:51:24.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "396e86b399c8d3b74f7e807b855fa887702ee51f",
      "fileid": "https://r2.ropensci.org/9e203d47d605b13e3f4b5edccc6ca204be181a06c54d36b9c2d0413ad972c8da",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/envisim/actions/runs/38152696468"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.1.1",
      "date": "2026-10-11T15:50:51.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "396e86b399c8d3b74f7e807b855fa887702ee51f",
      "fileid": "https://r2.ropensci.org/8847708a15db504c03a828162731b7d664d164833c5f92343fb4c4187a1d8795",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/envisim/actions/runs/38152696468"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.1.1",
      "date": "2026-10-11T15:50:36.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "396e86b399c8d3b74f7e807b855fa887702ee51f",
      "fileid": "https://r2.ropensci.org/90d6209f5077006052f818c0a5f9812c47ff6b3133f2c462dc16ae4e9160953d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/envisim/actions/runs/38152696468"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.1.1",
      "date": "2026-10-11T15:50:56.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "396e86b399c8d3b74f7e807b855fa887702ee51f",
      "fileid": "https://r2.ropensci.org/1bf30cf6985cc21c4f11e6727dd54a3a2bad601c8a2942fbdff8d94a04b78ca9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/envisim/actions/runs/38152696468"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.1.1",
      "date": "2026-10-11T15:58:29.000Z",
      "arch": "aarch64",
      "commit": "396e86b399c8d3b74f7e807b855fa887702ee51f",
      "fileid": "https://r2.ropensci.org/8b3b271408194912cbbefe30e499c755d64a5e886e98df5c55cd3cb9f837ad6f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/envisim/actions/runs/38152696468"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.1.1",
      "date": "2026-10-11T15:53:18.000Z",
      "arch": "x86_64",
      "commit": "396e86b399c8d3b74f7e807b855fa887702ee51f",
      "fileid": "https://r2.ropensci.org/7151e7ec6c61021bc353893a0cec0df1e181524a3888d8e4535b09a9ffc66636",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/envisim/actions/runs/38152696468"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.1.1",
      "date": "2026-10-11T15:58:26.000Z",
      "arch": "aarch64",
      "commit": "396e86b399c8d3b74f7e807b855fa887702ee51f",
      "fileid": "https://r2.ropensci.org/50f1d5b8f8a351cc16bdbfe26acc520dbf11f94ea146dbc189012a3fb469fe55",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/envisim/actions/runs/38152696468"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.1.1",
      "date": "2026-10-11T15:55:03.000Z",
      "arch": "x86_64",
      "commit": "396e86b399c8d3b74f7e807b855fa887702ee51f",
      "fileid": "https://r2.ropensci.org/2b40d9f0a39f6994302530b21bc7a721e6a0727968eb3e4df51e798e66af7e33",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/envisim/actions/runs/38152696468"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.1.1",
      "date": "2026-10-11T15:50:46.000Z",
      "arch": "emscripten",
      "commit": "396e86b399c8d3b74f7e807b855fa887702ee51f",
      "fileid": "https://r2.ropensci.org/c8f8d38f1ee07a45ba2219131371d51812ce41d8e7a9632a6d52e25c194f6512",
      "status": "success",
      "buildurl": "https://github.com/r-universe/envisim/actions/runs/38152696468"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.1.1",
      "date": "2026-10-11T15:52:18.000Z",
      "arch": "aarch64",
      "commit": "396e86b399c8d3b74f7e807b855fa887702ee51f",
      "fileid": "https://r2.ropensci.org/344ae240daa5cd5e381e1f4d183ca728c59e4b01191095597fdd3f34f9cd24be",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/envisim/actions/runs/38152696468"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.1.1",
      "date": "2026-10-11T15:50:31.000Z",
      "arch": "x86_64",
      "commit": "396e86b399c8d3b74f7e807b855fa887702ee51f",
      "fileid": "https://r2.ropensci.org/cec7ba810df7bc7d3b9f3e5bc1047bed9a5af26314fa28f8df779848bb76cdaf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/envisim/actions/runs/38152696468"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.1.1",
      "date": "2026-10-11T15:50:28.000Z",
      "arch": "x86_64",
      "commit": "396e86b399c8d3b74f7e807b855fa887702ee51f",
      "fileid": "https://r2.ropensci.org/55dd25ef8bc1d1fa954368e831ef6f133b5789923b2feffc6bdf2e2b3462996f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/envisim/actions/runs/38152696468"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.1.1",
      "date": "2026-10-11T15:52:29.000Z",
      "arch": "aarch64",
      "commit": "396e86b399c8d3b74f7e807b855fa887702ee51f",
      "fileid": "https://r2.ropensci.org/3ba6b0bffb4e933eb646dce2dfb1413fcd5a30e29b0ea16f8fc4a79e9fc5592c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/envisim/actions/runs/38152696468"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.1.1",
      "date": "2026-10-11T15:50:15.000Z",
      "arch": "x86_64",
      "commit": "396e86b399c8d3b74f7e807b855fa887702ee51f",
      "fileid": "https://r2.ropensci.org/855aebcb122dff939064e4e03c6086c7c0d8e1564694500fe560dec5a121a956",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/envisim/actions/runs/38152696468"
    }
  ]
}