{
  "_id": "6a532a7f9b92047c28d560f2",
  "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-07-12 05:44:00 UTC",
    "User": "root"
  },
  "_user": "statisticsnorway",
  "_type": "src",
  "_file": "SmallCountRounding_1.2.5.tar.gz",
  "_fileid": "https://r2.ropensci.org/55f1a0a33fc0c733b879b9301ab9c6ed325bd02af75fa6138c744863f9d90a58",
  "_filesize": 329508,
  "_sha256": "55f1a0a33fc0c733b879b9301ab9c6ed325bd02af75fa6138c744863f9d90a58",
  "_expires": "2026-10-20T05:47:41.000Z",
  "_created": "2026-07-12T05:44:00.000Z",
  "_published": "2026-07-12T05:47:43.488Z",
  "_jobs": [
    {
      "job": 86620233853,
      "time": 153,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8256603096"
    },
    {
      "job": 86620233810,
      "time": 179,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8256606465"
    },
    {
      "job": 86620233819,
      "time": 115,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8256597819"
    },
    {
      "job": 86620233851,
      "time": 146,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8256602285"
    },
    {
      "job": 86620007321,
      "time": 204,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8256581625"
    },
    {
      "job": 86620233815,
      "time": 117,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8256598341"
    },
    {
      "job": 86620233822,
      "time": 100,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8256595735"
    },
    {
      "job": 86620233824,
      "time": 100,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8256595926"
    },
    {
      "job": 86620233829,
      "time": 113,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8256597645"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/29181516521",
  "_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-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",
    "followers": 316
  },
  "_downloads": {
    "count": 334,
    "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/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/SmallCountRounding.html",
    "LICENSE",
    "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.732393759822968,
  "_indexed": true,
  "_nocasepkg": "smallcountrounding",
  "_universes": [
    "statisticsnorway",
    "olangsrud"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.5",
      "date": "2026-07-12T05:46:21.000Z",
      "distro": "resolute",
      "commit": "61f3a9ae007a227db031f3234332b350536ba718",
      "fileid": "https://r2.ropensci.org/f1b182bf91228b1bf69e775349af11d44d99b7b000f4852adffb14c95d5bf445",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/29181516521"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.2.5",
      "date": "2026-07-12T05:46:51.000Z",
      "distro": "resolute",
      "commit": "61f3a9ae007a227db031f3234332b350536ba718",
      "fileid": "https://r2.ropensci.org/8c8700443ab59f36fd7c37aefeded7dc9780729c3034d5139e051957a774b7aa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/29181516521"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.5",
      "date": "2026-07-12T05:45:50.000Z",
      "commit": "61f3a9ae007a227db031f3234332b350536ba718",
      "fileid": "https://r2.ropensci.org/9799a4974f7cfea9614c9d45f5d7701bde8a4391a4f8103cfcddf3beb832437f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/29181516521"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.2.5",
      "date": "2026-07-12T05:46:15.000Z",
      "commit": "61f3a9ae007a227db031f3234332b350536ba718",
      "fileid": "https://r2.ropensci.org/1fed965753f265f2f41fbdc61e591ebf801cedd2b5e8bb3cb7e953b27294391e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/29181516521"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.5",
      "date": "2026-07-12T05:46:19.000Z",
      "commit": "61f3a9ae007a227db031f3234332b350536ba718",
      "fileid": "https://r2.ropensci.org/b6f79422705233d0e31e39bf9101b01bec6e3e1e327da1e6a8068924517b50cc",
      "status": "success",
      "buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/29181516521"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.5",
      "date": "2026-07-12T05:45:21.000Z",
      "commit": "61f3a9ae007a227db031f3234332b350536ba718",
      "fileid": "https://r2.ropensci.org/33883900bfabdcebb5f772b6682718ca055267ef00bbb22b42920e32434262a3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/29181516521"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.5",
      "date": "2026-07-12T05:45:23.000Z",
      "commit": "61f3a9ae007a227db031f3234332b350536ba718",
      "fileid": "https://r2.ropensci.org/22ec9cc29ff53e22d6f0516deea6b00aeef402149890b2a3bf58b70c8e35e677",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/29181516521"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.2.5",
      "date": "2026-07-12T05:45:37.000Z",
      "commit": "61f3a9ae007a227db031f3234332b350536ba718",
      "fileid": "https://r2.ropensci.org/584fb0e1c1856d3a57bb00fc86bcb5b89e166dcfe39441527c58f540a5943521",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statisticsnorway/actions/runs/29181516521"
    }
  ]
}