{
  "_id": "6a1570c6acfb0bcc41d64f1b",
  "Package": "prnsamplr",
  "Type": "Package",
  "Title": "Permanent Random Number Sampling",
  "Version": "1.1.0",
  "Authors@R": "person(\"Kira\", \"Coder Gylling\", email = \"kira.gylling@gmail.com\", \nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-9070-8381\"))",
  "Maintainer": "Kira Coder Gylling <kira.gylling@gmail.com>",
  "Description": "Survey sampling using permanent random numbers (PRN's). A\nsolution to the problem of unknown overlap between survey\nsamples, which leads to a low precision in estimates when the\nsurvey is repeated or combined with other surveys. The PRN\nsolution is to supply the U(0, 1) random numbers to the\nsampling procedure, instead of having the sampling procedure\ngenerate them. In Lindblom (2014) <doi:10.2478/jos-2014-0047>,\nand therein cited papers, it is shown how this is carried out\nand how it improves the estimates. This package supports two\ncommon fixed-size sampling procedures (simple random sampling\nand probability-proportional-to-size sampling) and includes a\nfunction for transforming the PRN's in order to control the\nsample overlap.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.2",
  "Config/testthat/edition": "3",
  "Repository": "https://kirajcg.r-universe.dev",
  "Date/Publication": "2025-04-17 11:36:12 UTC",
  "RemoteUrl": "https://github.com/kirajcg/prnsamplr",
  "RemoteRef": "HEAD",
  "RemoteSha": "fcea64feeaa733301d16c483dfbd714e4ef5a162",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-26 10:03:44 UTC",
    "User": "root"
  },
  "Author": "Kira Coder Gylling [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-9070-8381>)",
  "MD5sum": "11c879da93c65d52d279ef0c9b4ffb7b",
  "_user": "kirajcg",
  "_type": "src",
  "_file": "prnsamplr_1.1.0.tar.gz",
  "_fileid": "b17ce20c41b9b3fa614522a91b84849739bbd155605c79abe6ab28e9791587f6",
  "_filesize": 679529,
  "_sha256": "b17ce20c41b9b3fa614522a91b84849739bbd155605c79abe6ab28e9791587f6",
  "_created": "2026-05-26T10:03:44.000Z",
  "_published": "2026-05-26T10:07:02.899Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77851618235,
      "time": 124,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7214275711"
    },
    {
      "job": 77851618117,
      "time": 122,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7214274750"
    },
    {
      "job": 77851618142,
      "time": 162,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7214279519"
    },
    {
      "job": 77851618171,
      "time": 161,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7214277642"
    },
    {
      "job": 77851196133,
      "time": 155,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7214232685"
    },
    {
      "job": 77851618371,
      "time": 90,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7214264262"
    },
    {
      "job": 77851618155,
      "time": 90,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7214263950"
    },
    {
      "job": 77851618263,
      "time": 81,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7214261155"
    },
    {
      "job": 77851618214,
      "time": 86,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7214262776"
    }
  ],
  "_buildurl": "https://github.com/r-universe/kirajcg/actions/runs/26445628464",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/kirajcg/prnsamplr",
  "_commit": {
    "id": "fcea64feeaa733301d16c483dfbd714e4ef5a162",
    "author": "kira <kira.gylling@gmail.com>",
    "committer": "kira <kira.gylling@gmail.com>",
    "message": "fixed the url to the awesome list\n",
    "time": 1744889772
  },
  "_maintainer": {
    "name": "Kira Coder Gylling",
    "email": "kira.gylling@gmail.com",
    "login": "kirajcg",
    "description": "Coder is my middle name.",
    "uuid": 24781413,
    "orcid": "0000-0002-9070-8381"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.2",
      "role": "Depends"
    },
    {
      "package": "rlang",
      "version": ">= 1.1.0",
      "role": "Imports"
    },
    {
      "package": "stats",
      "version": ">= 4.2",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "version": ">= 1.0.0",
      "role": "Suggests"
    },
    {
      "package": "stringr",
      "version": ">= 1.4.0",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tibble",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "kirajcg",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "kirajcg",
      "count": 32,
      "uuid": 24781413
    }
  ],
  "_userbio": {
    "uuid": 24781413,
    "type": "user",
    "name": "Kira Coder Gylling",
    "description": "Coder is my middle name."
  },
  "_downloads": {
    "count": 665,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/prnsamplr"
  },
  "_devurl": "https://github.com/kirajcg/prnsamplr",
  "_searchresults": 7,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/prnsamplr.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/kirajcg/prnsamplr",
  "_realowner": "kirajcg",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2019-03-04"
    },
    {
      "version": "0.1.1",
      "date": "2020-02-09"
    },
    {
      "version": "0.2.0",
      "date": "2021-01-11"
    },
    {
      "version": "0.2.1",
      "date": "2022-09-29"
    },
    {
      "version": "0.3.0",
      "date": "2023-03-08"
    },
    {
      "version": "1.0.0",
      "date": "2024-11-20"
    },
    {
      "version": "1.1.0",
      "date": "2025-04-17"
    }
  ],
  "_exports": [
    "pps",
    "samp",
    "srs",
    "transformprn"
  ],
  "_datasets": [
    {
      "name": "ExampleData",
      "title": "ExampleData",
      "object": "ExampleData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "stratum",
        "id",
        "npopul",
        "nsample",
        "rands",
        "sizeM"
      ],
      "rows": 40000,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "prnsamplr-package",
      "title": "Permanent Random Number Sampling in R",
      "topics": [
        "prnsamplr-package",
        "prnsamplr"
      ]
    },
    {
      "page": "ExampleData",
      "title": "ExampleData",
      "topics": [
        "ExampleData"
      ]
    },
    {
      "page": "pps",
      "title": "Stratified probability-proportional-to-size sampling",
      "topics": [
        "pps"
      ]
    },
    {
      "page": "samp",
      "title": "Stratified permanent random number sampling",
      "topics": [
        "samp"
      ]
    },
    {
      "page": "srs",
      "title": "Stratified simple random sampling",
      "topics": [
        "srs"
      ]
    },
    {
      "page": "transformprn",
      "title": "Permanent random number transformation",
      "topics": [
        "transformprn"
      ]
    }
  ],
  "_pkglogo": "https://github.com/kirajcg/prnsamplr/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/kirajcg/prnsamplr/raw/HEAD/README.md",
  "_rundeps": [
    "rlang"
  ],
  "_score": 2.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "prnsamplr",
  "_universes": [
    "kirajcg"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-05-26T10:05:41.000Z",
      "distro": "noble",
      "commit": "fcea64feeaa733301d16c483dfbd714e4ef5a162",
      "fileid": "786b724f4795cb8b37acce2c1d119a541b998a7941d9eeb243298a62b6d8fbe6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kirajcg/actions/runs/26445628464"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-05-26T10:05:39.000Z",
      "distro": "noble",
      "commit": "fcea64feeaa733301d16c483dfbd714e4ef5a162",
      "fileid": "80aebca37683c4f8e3ab2c5f38c64294558a198dfe60945b4cbc8cc9f9d246dc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kirajcg/actions/runs/26445628464"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-05-26T10:05:57.000Z",
      "commit": "fcea64feeaa733301d16c483dfbd714e4ef5a162",
      "fileid": "903da79afe93ceb6dc27fd16be3752ad730d93210fe02175745e6669ef47181a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kirajcg/actions/runs/26445628464"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-05-26T10:05:48.000Z",
      "commit": "fcea64feeaa733301d16c483dfbd714e4ef5a162",
      "fileid": "f7346aebc0c86afb499d2575dcd9f919689a4f809a5d13c903337e1d69009528",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kirajcg/actions/runs/26445628464"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.0",
      "date": "2026-05-26T10:05:32.000Z",
      "commit": "fcea64feeaa733301d16c483dfbd714e4ef5a162",
      "fileid": "e40c7b99ab9cf36127381eb0b5768e5d703d79223c26d274afa1eecb26f69e2b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/kirajcg/actions/runs/26445628464"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-05-26T10:05:01.000Z",
      "commit": "fcea64feeaa733301d16c483dfbd714e4ef5a162",
      "fileid": "69434ebfb6d23c8031310b8ff9652c2b26bc63dad4154c68e5733394540ee7cc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kirajcg/actions/runs/26445628464"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-05-26T10:04:54.000Z",
      "commit": "fcea64feeaa733301d16c483dfbd714e4ef5a162",
      "fileid": "1d39e3af52fe7e42e5e5045fa27e2fe3b0aa02e4ee159dac9074c326c7a4d5fb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kirajcg/actions/runs/26445628464"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-05-26T10:04:59.000Z",
      "commit": "fcea64feeaa733301d16c483dfbd714e4ef5a162",
      "fileid": "70049a9667eaffc597b90dec03ab992d45d864e58f2ee61dfe640528586f8ccd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kirajcg/actions/runs/26445628464"
    }
  ]
}