{
  "_id": "6ab62f1199f7aa8c6aa2beaf",
  "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-09-25 08:17:40 UTC",
    "User": "root"
  },
  "_user": "statisticsnorway",
  "_type": "src",
  "_file": "SmallCountRounding_1.2.5.tar.gz",
  "_fileid": "https://r2.ropensci.org/b574528fa6f7fb593d9ae1adcbdd2cc750159ae72a5774dd1d1f012dd144fd3b",
  "_filesize": 327982,
  "_sha256": "b574528fa6f7fb593d9ae1adcbdd2cc750159ae72a5774dd1d1f012dd144fd3b",
  "_expires": "2027-01-03T08:21:35.000Z",
  "_created": "2026-09-25T08:17:40.000Z",
  "_published": "2026-09-25T08:21:36.915Z",
  "_jobs": [
    {
      "job": 107997865544,
      "time": 173,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10853073044"
    },
    {
      "job": 107997865547,
      "time": 152,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10853702208"
    },
    {
      "job": 107997865526,
      "time": 108,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10853602684"
    },
    {
      "job": 107997865548,
      "time": 93,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10853782179"
    },
    {
      "job": 107996930308,
      "time": 194,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10853202534"
    },
    {
      "job": 107997865461,
      "time": 102,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10854075007"
    },
    {
      "job": 107997865471,
      "time": 97,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10853324062"
    },
    {
      "job": 107997865520,
      "time": 99,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10853159572"
    },
    {
      "job": 107997865623,
      "time": 104,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10853179390"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/36111840054",
  "_status": "success",
  "_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",
    "description": "",
    "uuid": 40028407
  },
  "_distro": "resolute",
  "_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-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",
    "followers": 334
  },
  "_downloads": {
    "count": 384,
    "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": 18,
  "_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/SmallCountRounding.html",
    "LICENSE"
  ],
  "_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.431363764158987,
  "_indexed": true,
  "_nocasepkg": "smallcountrounding",
  "_universes": [
    "statisticsnorway",
    "olangsrud"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.5",
      "date": "2026-09-25T08:20:16.000Z",
      "distro": "resolute",
      "commit": "61f3a9ae007a227db031f3234332b350536ba718",
      "fileid": "https://r2.ropensci.org/cae3444db9f7589a6be3abf1802142fc6e125d946b25ff9af599091289093e79",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/36111840054"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.2.5",
      "date": "2026-09-25T08:20:00.000Z",
      "distro": "resolute",
      "commit": "61f3a9ae007a227db031f3234332b350536ba718",
      "fileid": "https://r2.ropensci.org/b59c5326a149d146aeadc5556157a3282132ef3b0bd3b4fe1af28e6cf15dce6e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/36111840054"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.5",
      "date": "2026-09-25T08:20:22.000Z",
      "commit": "61f3a9ae007a227db031f3234332b350536ba718",
      "fileid": "https://r2.ropensci.org/9e6e18596b86dd4b2689e4acaa4b8a9eb63807b594afb1869fd1e58be6a8bfbf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/36111840054"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.2.5",
      "date": "2026-09-25T08:20:44.000Z",
      "commit": "61f3a9ae007a227db031f3234332b350536ba718",
      "fileid": "https://r2.ropensci.org/510c59161e2473764d5c386721b2064d48386d9aa1884889e493b1810c13917e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/36111840054"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.5",
      "date": "2026-09-25T08:19:38.000Z",
      "commit": "61f3a9ae007a227db031f3234332b350536ba718",
      "fileid": "https://r2.ropensci.org/579cf6ad1d0cccef65ba3e59c80d073f762e2ec2c7db2a2322cb942e9f3de390",
      "status": "success",
      "buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/36111840054"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.5",
      "date": "2026-09-25T08:18:52.000Z",
      "commit": "61f3a9ae007a227db031f3234332b350536ba718",
      "fileid": "https://r2.ropensci.org/9d33e22100c2423d335e466a6909ac199fc8569b1512bceaca4f4262c802d314",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/36111840054"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.5",
      "date": "2026-09-25T08:18:56.000Z",
      "commit": "61f3a9ae007a227db031f3234332b350536ba718",
      "fileid": "https://r2.ropensci.org/dddcd388a3bde01a064d65d49bac000d96fa2631f29ce7ddca5634620edd6e33",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/36111840054"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.2.5",
      "date": "2026-09-25T08:18:57.000Z",
      "commit": "61f3a9ae007a227db031f3234332b350536ba718",
      "fileid": "https://r2.ropensci.org/b7c2974d1a071aaa7402c73570dc44a0dd67c8b2b8a9cb0fc6f554871286980a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/36111840054"
    }
  ]
}