{
  "_id": "6a10246aacfb0bcc41c8dc1a",
  "Package": "SmallCountRounding",
  "Type": "Package",
  "Title": "Small Count Rounding of Tabular Data",
  "Version": "1.2.5",
  "Date": "2025-09-24",
  "Authors@R": "c(person(\"Øyvind\", \"Langsrud\", role = c(\"aut\", \"cre\"), email = \"oyl@ssb.no\"),\nperson(\"Johan\", \"Heldal\", role = c(\"aut\")))",
  "Author": "Øyvind Langsrud [aut, cre], Johan Heldal [aut]",
  "Maintainer": "Øyvind Langsrud <oyl@ssb.no>",
  "VignetteBuilder": "knitr",
  "Description": "A statistical disclosure control tool to protect frequency\ntables in cases where small values are sensitive. The function\nPLSrounding() performs small count rounding of necessary inner\ncells so that all small frequencies of cross-classifications to\nbe published (publishable cells) are rounded. This is\nequivalent to changing micro data since frequencies of unique\ncombinations are changed. Thus, additivity and consistency are\nguaranteed. The methodology is described in Langsrud and Heldal\n(2018)\n<https://www.researchgate.net/publication/327768398_An_Algorithm_for_Small_Count_Rounding_of_Tabular_Data>.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/statisticsnorway/ssb-smallcountrounding,\nhttps://statisticsnorway.github.io/ssb-smallcountrounding/",
  "BugReports": "https://github.com/statisticsnorway/ssb-smallcountrounding/issues",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "Encoding": "UTF-8",
  "Repository": "https://statisticsnorway.r-universe.dev",
  "Date/Publication": "2025-09-24 07:08:20 UTC",
  "RemoteUrl": "https://github.com/statisticsnorway/ssb-smallcountrounding",
  "RemoteRef": "HEAD",
  "RemoteSha": "61f3a9ae007a227db031f3234332b350536ba718",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-13 09:57:05 UTC",
    "User": "root"
  },
  "MD5sum": "4cdfb1a027705e5b4bacd4ced14b7a9d",
  "_user": "statisticsnorway",
  "_type": "src",
  "_file": "SmallCountRounding_1.2.5.tar.gz",
  "_fileid": "4bf43c50a8f6fabc3d1251fc24c2dccbee7dde60ed8803b833568421f727a3d5",
  "_filesize": 327587,
  "_sha256": "4bf43c50a8f6fabc3d1251fc24c2dccbee7dde60ed8803b833568421f727a3d5",
  "_created": "2026-05-13T09:57:05.000Z",
  "_published": "2026-05-22T09:39:54.843Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77354495096,
      "time": 149,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6967059703"
    },
    {
      "job": 77354494969,
      "time": 144,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6967057910"
    },
    {
      "job": 77354495463,
      "time": 124,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6967196922"
    },
    {
      "job": 77354495323,
      "time": 93,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6967218036"
    },
    {
      "job": 77354494882,
      "time": 176,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6967000985"
    },
    {
      "job": 77354494543,
      "time": 105,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7157473017"
    },
    {
      "job": 77354495200,
      "time": 118,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6967045405"
    },
    {
      "job": 77354495134,
      "time": 118,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6967045584"
    },
    {
      "job": 77354495077,
      "time": 112,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6967042512"
    }
  ],
  "_buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/25791768421",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/statisticsnorway/ssb-smallcountrounding",
  "_commit": {
    "id": "61f3a9ae007a227db031f3234332b350536ba718",
    "author": "Øyvind Langsrud <40028407+olangsrud@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #33 from statisticsnorway/dev_oyl\n\nDev oyl",
    "time": 1758697700
  },
  "_maintainer": {
    "name": "Øyvind Langsrud",
    "email": "oyl@ssb.no",
    "login": "olangsrud",
    "uuid": 40028407
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "SSBtools",
      "version": ">= 1.8.2",
      "role": "Imports"
    },
    {
      "package": "ellipsis",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "kableExtra",
      "role": "Suggests"
    },
    {
      "package": "sdcHierarchies",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "data.table",
      "role": "Suggests"
    }
  ],
  "_owner": "statisticsnorway",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-38",
      "n": 1
    },
    {
      "week": "2025-39",
      "n": 2
    }
  ],
  "_tags": [],
  "_topics": [
    "statistics"
  ],
  "_stars": 3,
  "_contributors": [
    {
      "user": "olangsrud",
      "count": 190,
      "uuid": 40028407
    },
    {
      "user": "vidarkl",
      "count": 1,
      "uuid": 74055337
    }
  ],
  "_userbio": {
    "uuid": 5849578,
    "type": "organization",
    "name": "Statistics Norway"
  },
  "_downloads": {
    "count": 281,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/SmallCountRounding"
  },
  "_devurl": "https://github.com/statisticsnorway/ssb-smallcountrounding",
  "_pkgdown": "https://statisticsnorway.github.io/ssb-smallcountrounding/",
  "_searchresults": 17,
  "_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/SmallCountRounding.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/statisticsnorway/ssb-smallcountrounding",
  "_realowner": "statisticsnorway",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2",
      "date": "2018-10-26"
    },
    {
      "version": "0.3.0",
      "date": "2019-03-04"
    },
    {
      "version": "0.4.0",
      "date": "2019-10-17"
    },
    {
      "version": "0.5.0",
      "date": "2020-09-21"
    },
    {
      "version": "0.6.0",
      "date": "2020-10-15"
    },
    {
      "version": "0.7.0",
      "date": "2021-03-09"
    },
    {
      "version": "0.8.0",
      "date": "2021-04-26"
    },
    {
      "version": "0.9.0",
      "date": "2021-09-29"
    },
    {
      "version": "1.0.0",
      "date": "2022-08-26"
    },
    {
      "version": "1.0.2",
      "date": "2022-10-12"
    },
    {
      "version": "1.0.3",
      "date": "2022-11-16"
    },
    {
      "version": "1.0.5",
      "date": "2024-09-05"
    },
    {
      "version": "1.0.8",
      "date": "2024-10-22"
    },
    {
      "version": "1.1.0",
      "date": "2024-12-09"
    },
    {
      "version": "1.2.0",
      "date": "2025-02-05"
    },
    {
      "version": "1.2.5",
      "date": "2025-09-24"
    }
  ],
  "_exports": [
    "FindMaxDiff",
    "formula_selection",
    "FormulaSelection",
    "HD",
    "HDutility",
    "Lists2formula",
    "MakeControl",
    "makeroundtabs",
    "PLS2way",
    "PLSrounding",
    "PLSroundingFits",
    "PLSroundingInner",
    "PLSroundingLoop",
    "PLSroundingPublish",
    "Round2",
    "RoundViaDummy",
    "RoundViaDummy2",
    "SmallCountData",
    "SSBtoolsData",
    "tables_by_formulas"
  ],
  "_help": [
    {
      "page": "SmallCountRounding-package",
      "title": "Small Count Rounding of Tabular Data",
      "topics": [
        "SmallCountRounding-package",
        "SmallCountRounding"
      ]
    },
    {
      "page": "FormulaSelection.PLSrounded",
      "title": "FormulaSelection method for PLSrounded",
      "topics": [
        "FormulaSelection.PLSrounded"
      ]
    },
    {
      "page": "HDutility",
      "title": "Hellinger Distance (Utility)",
      "topics": [
        "HD",
        "HDutility"
      ]
    },
    {
      "page": "PLS2way",
      "title": "Two-way table from PLSrounding output",
      "topics": [
        "PLS2way"
      ]
    },
    {
      "page": "PLSrounding",
      "title": "PLS inspired rounding",
      "topics": [
        "PLSrounding",
        "PLSroundingInner",
        "PLSroundingPublish"
      ]
    },
    {
      "page": "PLSroundingFits",
      "title": "Small count rounding with post-processing to expected frequencies",
      "topics": [
        "PLSroundingFits"
      ]
    },
    {
      "page": "PLSroundingLoop",
      "title": "PLSrounding on portions of data at a time",
      "topics": [
        "PLSroundingLoop"
      ]
    },
    {
      "page": "print.PLSrounded",
      "title": "Print method for PLSrounded",
      "topics": [
        "print.PLSrounded"
      ]
    },
    {
      "page": "RoundViaDummy",
      "title": "Small Count Rounding of Tabular Data",
      "topics": [
        "RoundViaDummy"
      ]
    },
    {
      "page": "SmallCountData",
      "title": "Function that returns a dataset",
      "topics": [
        "SmallCountData"
      ]
    }
  ],
  "_pkglogo": "https://github.com/statisticsnorway/ssb-smallcountrounding/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/statisticsnorway/ssb-smallcountrounding/raw/HEAD/README.md",
  "_rundeps": [
    "ellipsis",
    "lattice",
    "MASS",
    "Matrix",
    "rlang",
    "SSBtools"
  ],
  "_vignettes": [
    {
      "source": "Introduction_to_SmallCountRounding.Rmd",
      "filename": "Introduction_to_SmallCountRounding.html",
      "title": "Introduction to 'SmallCountRounding'",
      "author": "Øyvind Langsrud and Johan Heldal",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introductory example",
        "Example without code",
        "The example dataset in Table 1",
        "Rounding all small cells (Table 2)",
        "Rounding necessary small inner cell (Table 3)",
        "Unique output obtained by local random generator seed",
        "The output object",
        "Hierarchical data",
        "Data (Table 4) and hierarchies (Table 5)",
        "Four ways to produce Table 6",
        "Remarks and other parameters"
      ],
      "created": "2020-09-15 13:06:38",
      "modified": "2025-09-24 07:08:20",
      "commits": 9
    }
  ],
  "_score": 4.707570176097937,
  "_indexed": true,
  "_nocasepkg": "smallcountrounding",
  "_universes": [
    "statisticsnorway",
    "olangsrud"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.5",
      "date": "2026-05-13T09:59:29.000Z",
      "distro": "noble",
      "commit": "61f3a9ae007a227db031f3234332b350536ba718",
      "fileid": "0666d698995dd3c672654dd370c2a50380c4955a19d78097caf38f58d7876c87",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/25791768421"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.5",
      "date": "2026-05-13T09:59:26.000Z",
      "distro": "noble",
      "commit": "61f3a9ae007a227db031f3234332b350536ba718",
      "fileid": "2781450695f07652aaa0f6eeb9924495f5a1da0a0534b3b96ca5f05a03a70f0e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/25791768421"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.5",
      "date": "2026-05-13T10:05:56.000Z",
      "commit": "61f3a9ae007a227db031f3234332b350536ba718",
      "fileid": "4d92738e7c39b03fee209c292da655744c9f596739ed30ecb37c5a23b201f568",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/25791768421"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2.5",
      "date": "2026-05-13T10:07:10.000Z",
      "commit": "61f3a9ae007a227db031f3234332b350536ba718",
      "fileid": "69ae7d15852cf3f71b3ac5b2a69bef3a5e74aa443751c0732a4588da9c536175",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/25791768421"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.5",
      "date": "2026-05-13T09:58:50.000Z",
      "commit": "61f3a9ae007a227db031f3234332b350536ba718",
      "fileid": "506503e19fd9981ada910ae33101d79e7dd245e9504c87cba60573211d59d024",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/25791768421"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.5",
      "date": "2026-05-13T09:58:49.000Z",
      "commit": "61f3a9ae007a227db031f3234332b350536ba718",
      "fileid": "3bd5f210ef46ee68c07adbda8061f307cd444c6c9b72003257de840d7162a41f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/25791768421"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.2.5",
      "date": "2026-05-13T09:58:48.000Z",
      "commit": "61f3a9ae007a227db031f3234332b350536ba718",
      "fileid": "e8377746e6faf3133f32a782b658420e9b8a7e0ad9e0e9d25d807a154ddde2ca",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/25791768421"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.5",
      "date": "2026-05-22T09:39:36.000Z",
      "commit": "61f3a9ae007a227db031f3234332b350536ba718",
      "fileid": "b89cb1b3c2f02db8f42b43e5d90b32027a9f1c981bcc5cf9ae518b4d8fa5ff8b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/25791768421"
    }
  ]
}