Skip to contents

Protect tables from tabular

Functions for protecting magnitude and frequency tables from one tabular data or from a set of linked tables.

tab_multi_manager()
Manages the secondary secret of a list of tables
write_hrc2()
Creates a hrc file from correspondence table
tab_rtauargus()
Protect one table by suppressing cells with Tau-Argus
tab_rtauargus2()
Wrapper of tab_rtauargus adapted for tab_multi_manager function.
tab_rtauargus4() experimental
Call Tau-Argus to protect a 4 or 5 dimensions table by splitting it in several 3 dimensions table.
tabulate_micro_data()
tabulate grouped data with all margins, handling hierarchical variables

Proceed to an automatic analysis

Functions to help the links analysis between tables from a metadata file.

analyse_metadata()
Analyse Metadata of Tables Needing Secondary Tabular Data Protection
contains_non_total()
Check for Non-Total Values in a Data Frame
create_edges()
Create a Data Frame of Table Inclusion Relationships
dataframe_result()
Combine List of Dataframes into a Single Dataframe with Cluster Identification
enterprise_template
Extract of SBS Eurostat template.
filter_on_marginal_of_spanning_var()
Filter a Data Frame Based on Marginal Criteria
format_template()
Determines the tables described in a template gathering all the published cells
get_combinations()
Generate All Combinations of spanning variables
grp_tab_in_cluster()
Regroup Tables Inside Clusters Based on Inclusion Relationships
grp_tab_names()
Group Tables Based on Inclusion Relationships
identify_hrc()
Rename Variables Based on Their Hierarchies
metadata_pizza_lettuce
Metadata for pizza and lettuce dataset.
split_dataframe()
Split a Data Frame Based on a Chosen Variable
split_in_clusters()
Split a Data Frame into Clusters of Linked Tables
tab_to_treat()
Unnest Data Frames to Create a Usable Flat Format
wide_to_long()
Convert Metadata from Wide to Long Format

Data

Data to run examples

activity_corr_table
data - Correspondence table describing the business sectors hierarchy.
nuts23_fr_corr_table
data - Correspondence table describing the NUTS hierarchy.
turnover_act_cj
data - Turnover broken down by business sector and type of companies (fake values).
turnover_act_size
data - Turnover broken down by business sector and size of French companies (fake values).
turnover_nuts_cj
data - Turnover broken down by NUTS and size of French companies (fake values).
turnover_nuts_size
data - Turnover broken down by NUTS and size of French companies (fake values).
turnover_act_nuts_size
data - Turnover broken down by business sector, NUTS, and size of French companies (fake values).
datatest1
data crossing 4 categorical variables, none are hierarchical.
datatest2
data crossing 5 categorical variables, none are hierarchical.
indiv_dt
Companies data at individual level.
metadata_pizza_lettuce
Metadata for pizza and lettuce dataset.
enterprise_template
Extract of SBS Eurostat template.

Protect tables from microdata

Functions for protecting magnitude and frequency tables, i.e. from a microdataset. Original way to proceed but no longer the favored one.

micro_rtauargus() superseded
Protects tables from microdata
rtauargus_plus()
Mass protection

Step by step functions

Mostly internal functions

tab_rda()
Creates rda files from tabular data
tab_arb()
Creates a batch file (.arb) for tabular data in order to run Tau Argus
micro_asc_rda() superseded
Creates asc and rda files from microdata
micro_arb() superseded
Creates a batch file (.arb) for microdata
run_arb()
Runs a Tau-Argus batch
import()
Imports results from Tau-Argus

Others

rtauargus_options() reset_rtauargus_options()
Manages options of rtauargus package
write_hrc()
Creates a hrc file from microdata
rtauargus rtauargus-package
rtauargus: Using Tau-Argus from R