{
  "_id": "6ad9217a021a938ed758df33",
  "Package": "surveyplanning",
  "Type": "Package",
  "Title": "Survey Planning Tools",
  "Version": "4.1",
  "Date": "2026-09-30",
  "Authors@R": "c(person(\"Juris\", \"Breidaks\", role = \"aut\"), person(\"Martins\", \"Liberts\", role = \"aut\"), person(\"Janis\", \"Jukams\", role = \"aut\"), person(\"Liliana\", \"Roze\", email = \"liliana.roze@csp.gov.lv\", role = \"cre\"))",
  "Maintainer": "Liliana Roze <liliana.roze@csp.gov.lv>",
  "Description": "Tools for sample survey planning, including sample size\ncalculation, estimation of expected precision for the estimates\nof totals, and calculation of optimal sample size allocation.",
  "License": "GPL (>= 2)",
  "Encoding": "UTF-8",
  "URL": "https://csblatvia.github.io/surveyplanning/",
  "BugReports": "https://github.com/CSBLatvia/surveyplanning/issues/",
  "NeedsCompilation": "yes",
  "Config/roxygen2/version": "8.1.0",
  "Repository": "https://csblatvia.r-universe.dev",
  "Date/Publication": "2026-10-21 14:24:41 UTC",
  "RemoteUrl": "https://github.com/csblatvia/surveyplanning",
  "RemoteRef": "HEAD",
  "RemoteSha": "bdab69d5c2fc16fc16890cd83dace2e50a48a6b5",
  "RemoteSubdir": "surveyplanning",
  "Packaged": {
    "Date": "2026-10-21 20:28:34 UTC",
    "User": "root"
  },
  "Author": "Juris Breidaks [aut],\nMartins Liberts [aut],\nJanis Jukams [aut],\nLiliana Roze [cre]",
  "_user": "csblatvia",
  "_type": "src",
  "_file": "surveyplanning_4.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/c8edaf58f5d8aaf8f0c44e114531095bed8b76360e7b3a1baf6a3622b403cb5d",
  "_filesize": 159193,
  "_sha256": "c8edaf58f5d8aaf8f0c44e114531095bed8b76360e7b3a1baf6a3622b403cb5d",
  "_expires": "2027-01-29T20:32:55.000Z",
  "_created": "2026-10-21T20:28:34.000Z",
  "_published": "2026-10-21T20:32:58.100Z",
  "_upstream": "https://github.com/csblatvia/surveyplanning",
  "_status": "success",
  "_maintainer": {
    "name": "Liliana Roze",
    "email": "liliana.roze@csp.gov.lv"
  },
  "_jobs": [
    {
      "job": 119467411029,
      "time": 115,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12378878949"
    },
    {
      "job": 119467410982,
      "time": 111,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12379152001"
    },
    {
      "job": 119467410959,
      "time": 186,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12379382251"
    },
    {
      "job": 119467411120,
      "time": 219,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12380330687"
    },
    {
      "job": 119465516704,
      "time": 224,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12378898581"
    },
    {
      "job": 119467411174,
      "time": 104,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12380335472"
    },
    {
      "job": 119467411185,
      "time": 74,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12380096032"
    },
    {
      "job": 119467411103,
      "time": 56,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12378779382"
    },
    {
      "job": 119467411220,
      "time": 62,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12378364837"
    }
  ],
  "_buildurl": "https://github.com/r-universe/csblatvia/actions/runs/39670083805",
  "_commit": {
    "id": "bdab69d5c2fc16fc16890cd83dace2e50a48a6b5",
    "author": "lilianaroze <75325138+lilianaroze@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Package maintenance\n\nLinked with #2\nPackage maintenance: Run checks and updates 4.1.",
    "time": 1792592681
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.5.0",
      "role": "Depends"
    },
    {
      "package": "data.table",
      "version": ">= 1.18.0",
      "role": "Imports"
    },
    {
      "package": "laeken",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    }
  ],
  "_owner": "csblatvia",
  "_selfowned": true,
  "_usedby": 2,
  "_updates": [
    {
      "week": "2026-43",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "4.1",
      "date": "2026-10-21"
    }
  ],
  "_topics": [
    "sample-size",
    "sampling",
    "statistics"
  ],
  "_stars": 8,
  "_contributors": [
    {
      "user": "jbreidaks",
      "count": 23,
      "uuid": 9083064
    },
    {
      "user": "djhurio",
      "count": 3,
      "uuid": 744800
    },
    {
      "user": "rmsharp",
      "count": 1,
      "uuid": 386848
    },
    {
      "user": "lilianaroze",
      "count": 1,
      "uuid": 75325138
    }
  ],
  "_userbio": {
    "uuid": 8370516,
    "type": "organization",
    "name": "Central Statistical Bureau of Latvia",
    "followers": 17,
    "description": "Statistics Latvia"
  },
  "_downloads": {
    "count": 724,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/surveyplanning"
  },
  "_devurl": "https://github.com/csblatvia/surveyplanning",
  "_searchresults": 14,
  "_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/surveyplanning.html"
  ],
  "_homeurl": "https://github.com/csblatvia/surveyplanning",
  "_realowner": "csblatvia",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2",
      "date": "2015-11-04"
    },
    {
      "version": "0.6",
      "date": "2015-11-25"
    },
    {
      "version": "0.8",
      "date": "2015-11-30"
    },
    {
      "version": "1.0",
      "date": "2015-12-23"
    },
    {
      "version": "1.2",
      "date": "2016-02-02"
    },
    {
      "version": "1.4",
      "date": "2016-04-14"
    },
    {
      "version": "1.6",
      "date": "2016-05-24"
    },
    {
      "version": "1.8",
      "date": "2016-07-04"
    },
    {
      "version": "2.0",
      "date": "2016-08-01"
    },
    {
      "version": "2.2",
      "date": "2016-10-19"
    },
    {
      "version": "2.4",
      "date": "2016-10-24"
    },
    {
      "version": "2.6",
      "date": "2016-12-08"
    },
    {
      "version": "2.8",
      "date": "2017-03-11"
    },
    {
      "version": "2.9",
      "date": "2017-10-26"
    },
    {
      "version": "3.0",
      "date": "2019-05-03"
    },
    {
      "version": "4.0",
      "date": "2020-05-20"
    },
    {
      "version": "4.1",
      "date": "2026-10-05"
    }
  ],
  "_exports": [
    "dom_optimal_allocation",
    "expsize",
    "expvar",
    "min_count",
    "min_prop",
    "MoE_P",
    "MoE_Y",
    "optsize",
    "prop_dom_optimal_allocation",
    "round2",
    "s2"
  ],
  "_help": [
    {
      "page": "surveyplanning-package",
      "title": "Survey Planning Tools",
      "topics": [
        "surveyplanning-package",
        "surveyplanning"
      ]
    },
    {
      "page": "dom_optimal_allocation",
      "title": "Optimal sample size allocation",
      "topics": [
        "dom_optimal_allocation"
      ]
    },
    {
      "page": "expsize",
      "title": "Sample size calculation",
      "topics": [
        "expsize"
      ]
    },
    {
      "page": "expvar",
      "title": "Expected precision for the estimates of totals",
      "topics": [
        "expvar"
      ]
    },
    {
      "page": "min_count",
      "title": "Minimal count of respondents for the given relative margin of error",
      "topics": [
        "min_count"
      ]
    },
    {
      "page": "min_prop",
      "title": "Minimal proportion for the given relative margin of error",
      "topics": [
        "min_prop"
      ]
    },
    {
      "page": "MoE_P",
      "title": "Margin of error for proportion",
      "topics": [
        "MoE_P"
      ]
    },
    {
      "page": "MoE_Y",
      "title": "Margin of error for count",
      "topics": [
        "MoE_Y"
      ]
    },
    {
      "page": "optsize",
      "title": "Optimal sample size allocation",
      "topics": [
        "optsize"
      ]
    },
    {
      "page": "prop_dom_optimal_allocation",
      "title": "Optimal sample size allocation for proportion",
      "topics": [
        "prop_dom_optimal_allocation"
      ]
    },
    {
      "page": "round2",
      "title": "Rounding numbers",
      "topics": [
        "round2"
      ]
    },
    {
      "page": "s2",
      "title": "Population variance",
      "topics": [
        "s2"
      ]
    }
  ],
  "_readme": "https://github.com/csblatvia/surveyplanning/raw/HEAD/README.md",
  "_rundeps": [
    "boot",
    "data.table",
    "laeken",
    "MASS"
  ],
  "_score": 5.003460532109507,
  "_indexed": true,
  "_nocasepkg": "surveyplanning",
  "_universes": [
    "csblatvia"
  ],
  "_previous": "4.0",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "4.1",
      "date": "2026-10-21T20:30:39.000Z",
      "distro": "resolute",
      "commit": "bdab69d5c2fc16fc16890cd83dace2e50a48a6b5",
      "fileid": "https://r2.ropensci.org/e3c0377a43335967e8d37a5b4859aeebb5049696b01518191ffb3231428ab5a9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/csblatvia/actions/runs/39670083805"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "4.1",
      "date": "2026-10-21T20:30:35.000Z",
      "distro": "resolute",
      "commit": "bdab69d5c2fc16fc16890cd83dace2e50a48a6b5",
      "fileid": "https://r2.ropensci.org/38d8f71bb550ef6851e0e7cab431e2ee881f77411ac66fb808f5f515ff2ff35b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/csblatvia/actions/runs/39670083805"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "4.1",
      "date": "2026-10-21T20:31:20.000Z",
      "commit": "bdab69d5c2fc16fc16890cd83dace2e50a48a6b5",
      "fileid": "https://r2.ropensci.org/c0ee5576a63f90621260c741bb9dcb5af342eb88aeba488350380753381f74c8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/csblatvia/actions/runs/39670083805"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "4.1",
      "date": "2026-10-21T20:31:29.000Z",
      "commit": "bdab69d5c2fc16fc16890cd83dace2e50a48a6b5",
      "fileid": "https://r2.ropensci.org/3164dc1fd3fa54444eab248ba9669990687542a046a58da8e4931267f3c4f093",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/csblatvia/actions/runs/39670083805"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "4.1",
      "date": "2026-10-21T20:30:40.000Z",
      "commit": "bdab69d5c2fc16fc16890cd83dace2e50a48a6b5",
      "fileid": "https://r2.ropensci.org/122ef44622103704c5a002b49b20a2935dc962729b92050b5322bff08e713a2b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/csblatvia/actions/runs/39670083805"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "4.1",
      "date": "2026-10-21T20:29:51.000Z",
      "commit": "bdab69d5c2fc16fc16890cd83dace2e50a48a6b5",
      "fileid": "https://r2.ropensci.org/6d21250bdc4d617553ab670b6ce7155c9f56bdfab761a34cb0416d68cfba24cc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/csblatvia/actions/runs/39670083805"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "4.1",
      "date": "2026-10-21T20:29:37.000Z",
      "commit": "bdab69d5c2fc16fc16890cd83dace2e50a48a6b5",
      "fileid": "https://r2.ropensci.org/8d1de92afb3effe1a555db7ec85f92f1bfa1a1ae59083e5f7dff2fcde0d319b3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/csblatvia/actions/runs/39670083805"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "4.1",
      "date": "2026-10-21T20:29:43.000Z",
      "commit": "bdab69d5c2fc16fc16890cd83dace2e50a48a6b5",
      "fileid": "https://r2.ropensci.org/a067edc04e48eea51cc8eba5c4ba39af24d44a3f7e6054b8b01559db057fcbfa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/csblatvia/actions/runs/39670083805"
    }
  ]
}