Package: GaussSuppression 1.3.0

Øyvind Langsrud

GaussSuppression: Tabular Data Suppression using Gaussian Elimination

A statistical disclosure control tool to protect tables by suppression using the Gaussian elimination secondary suppression algorithm (Langsrud, 2024) <doi:10.1007/978-3-031-69651-0_6>. A suggestion is to start by working with functions SuppressSmallCounts() and SuppressDominantCells(). These functions use primary suppression functions for the minimum frequency rule and the dominance rule, respectively. Novel functionality for suppression of disclosive cells is also included. General primary suppression functions can be supplied as input to the general working horse function, GaussSuppressionFromData(). Suppressed frequencies can be replaced by synthetic decimal numbers as described in Langsrud (2019) <doi:10.1007/s11222-018-9848-9>.

Authors:Øyvind Langsrud [aut, cre], Daniel Lupp [aut], Hege Bøvelstad [ctb], Vidar Norstein Klungre [rev], Jonas Lindblad [ctb], Statistics Norway [cph]

GaussSuppression_1.3.0.tar.gz
GaussSuppression_1.3.0.zip(r-4.7)GaussSuppression_1.3.0.zip(r-4.6)GaussSuppression_1.3.0.zip(r-4.5)
GaussSuppression_1.3.0.tgz(r-4.6-any)GaussSuppression_1.3.0.tgz(r-4.5-any)
GaussSuppression_1.3.0.tar.gz(r-4.7-any)GaussSuppression_1.3.0.tar.gz(r-4.6-any)
GaussSuppression_1.3.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
GaussSuppression/json (API)
NEWS

# Install 'GaussSuppression' in R:
install.packages('GaussSuppression', repos = c('https://statisticsnorway.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/statisticsnorway/ssb-gausssuppression/issues

Pkgdown/docs site:https://statisticsnorway.github.io

On CRAN:

Conda:

7.27 score 4 stars 58 scripts 332 downloads 54 exports 7 dependencies

Last updated from:7ed7939d7f. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK388
source / vignettesOK191
linux-release-x86_64OK233
macos-release-arm64OK221
macos-oldrel-arm64OK189
windows-develOK208
windows-releaseOK226
windows-oldrelOK207
wasm-releaseOK113

Exports:AdditionalSuppressionCandidatesDefaultCandidatesNumCandidatesNumWgChainedSuppressionChainedSuppressionHiChainedSuppressionHi1ComputeIntervalsdefault_targetingDominanceRuleFixRiskyIntervalsForcedFromSuppressedDataForcedWgformula_selectionFormulaSelectionGaussSuppressDecGaussSuppressionGaussSuppressionFromDataGaussSuppressionTwoWayGetDefaultHierarchyContributorsIncrementalTimeSuppressionIntervalLimitsKDisclosurePrimaryLazyLinkedTablesMagnitudeRuleMaxContributionNcontributorsNcontributorsHoldingNcontributorsRuleNContributorsRuleNotPrimaryFromSuppressedDataPackageSpecsPPercentRulePrimaryDefaultPrimaryFromRiskyDefaultPrimaryFromSuppressedDataPrimaryRemoveWgSingletonDefaultSingletonUniqueContributorSingletonUniqueContributor0SSBtoolsDataSuppressDirectDisclosureSuppressDominantCellsSuppressFewContributorsSuppressionFromDecimalsSuppressKDisclosureSuppressLinkedTablesSuppressSmallCountstables_by_formulasX_from_mcX_from_mc_noinnerX_from_mc_removeX_from_mc_remove_noinner

Dependencies:ellipsislatticeMASSMatrixRegSDCrlangSSBtools

Defining Tables for GaussSuppression

Rendered fromdefine_tables.Rmdusingknitr::rmarkdownon May 13 2026.

Last update: 2025-02-07
Started: 2023-03-31

Linked table suppression

Rendered fromLinked_table_suppression.Rmdusingknitr::rmarkdownon May 13 2026.

Last update: 2025-08-25
Started: 2025-08-25

Magnitude table suppression

Rendered fromMagnitude_table_suppression.Rmdusingknitr::rmarkdownon May 13 2026.

Last update: 2025-04-24
Started: 2023-06-06

Small count frequency table suppression

Rendered fromSmall_count_frequency_table_suppression.Rmdusingknitr::rmarkdownon May 13 2026.

Last update: 2025-04-24
Started: 2023-06-06

Readme and manuals

Help Manual

Help pageTopics
GaussSuppression from data and suppressed dataAdditionalSuppression
Candidates functionsCandidatesDefault CandidatesNum
Repeated GaussSuppression with forwarding of previous resultsChainedSuppression ChainedSuppressionHi ChainedSuppressionHi1
Function for calculating intervals for suppressed tables.ComputeIntervals
Default 'targeting' function for SuppressKDisclosure()default_targeting
Method for finding dominant cells according to (possibly multiple) n,k dominance rules.FindDominantCells
New primary cells to fix risky intervalsFixRiskyIntervals
Cell suppression with synthetic decimal numbersGaussSuppressDec
Cell suppression from input data containing inner cellsGaussSuppressionFromData
Two-way iteration variant of 'GaussSuppressionFromData'GaussSuppressionTwoWay
Construct feasibility interval requirementsIntervalLimits
Construct primary suppressed difference matrixKDisclosurePrimary
Linked tables by full 'GaussSuppressionFromData' iterationsLazyLinkedTables
Dominance (n,k) or p% rule for magnitude tablesDominanceRule MagnitudeRule PPercentRule
Find major contributions to aggregatesMaxContribution
Find the number of unique groups contributing to aggregatesNcontributors
'Ncontributors' with holding-indicatorNcontributorsHolding
Number of contributors suppression ruleNContributorsRule
Function for viewing built-in GaussSuppression specsPackageSpecs
Default primary functionPrimaryDefault
'primary' and 'forced' from suppressed dataForcedFromSuppressedData NotPrimaryFromSuppressedData PrimaryFromSuppressedData
Special functions for the avoidance of suppressionCandidatesNumWg ForcedWg PrimaryRemoveWg
Default singleton functionSingletonDefault
Unique contributor singleton functionSingletonUniqueContributor SingletonUniqueContributor0
Suppression of directly-disclosive cellsSuppressDirectDisclosure
Suppress magnitude tables using dominance (n,k) or p% rule for primary suppression.SuppressDominantCells
Few contributors suppressionSuppressFewContributors
Cell suppression from synthetic decimal numbersSuppressionFromDecimals
K-disclosure suppressionSuppressKDisclosure
Consistent Suppression of Linked TablesSuppressLinkedTables
Small count frequency table suppression.SuppressSmallCounts