Standard output formats

DataLab User Guide

Format tabular and model outputs and provide the evidence needed for DataLab clearance

Released
19/11/2021
Release date and time
19/11/2021 11:30am AEDT

Use this guide to format DataLab outputs for clearance. A consistent format helps the clearance team assess requests and check that outputs meet requirements. The long format suits most outputs.

This guide will help you:

  • format outputs consistently so the clearance team can assess them efficiently
  • include the evidence needed to show that you have applied confidentiality protections
  • reduce the chance that we return your request for revision.

It covers common output types, including counts, proportions, ratios, means, quantiles and models, and includes examples.

Format tabular output

  • Use this format for counts, proportions, means, quantiles and ratios.
  • See the examples to check how to format your table.
  • Refer to the reference tables for detailed requirements: Table 1 for output data, Table 2 for variables and Table 3 for evidence.

Step 1: Include the required columns

Create a column for:

Step 2: Name evidence-only columns

  • Start the name of each evidence-only column with EVIDENCE_.
  • The EVIDENCE_ columns will be used to assess your request and will not be cleared.
  • For example, EVIDENCE_COUNT can show the raw counts used to calculate other output data.

Step 3: Apply suppression where required

  • Enter SUPPRESSED in each suppressed cell.
  • Do not suppress values in EVIDENCE_ columns. For suppressed counts, create COUNT_SUPPRESSED and enter SUPPRESSED where required.

Step 4: Save the file as a CSV

Submit your table as a CSV file.

Format model output

  • Use this format for linear, logistic and other models.
  • Use one row for each model term, such as an independent variable.
  • See the examples to check how to format your output.
  • Refer to Table 4 of the reference tables for detailed requirements.

Step 1: Include the required columns

Create all required columns listed in Table 4 below.

Step 2: Include additional columns where required

  • For ordinary least squares (OLS) models, include the R2 and IS_CONTINUOUS_VARIABLE columns.
  • For other statistics, use STAT_[statistic] columns, such as STAT_PVALUE or STAT_SE.

Step 3: Name evidence-only columns

  • Start the name of each evidence-only column with EVIDENCE_.
  • The EVIDENCE_ columns will be used to assess your request and will not be cleared.
  • For example, EVIDENCE_DEGREES_OF_FREEDOM can show the unrounded degrees of freedom used in the model.

Step 4: Apply suppression where required

  • Enter SUPPRESSED for each suppressed value in the VALUE or STAT_[statistic] column.
  • Do not suppress values in EVIDENCE_ columns.

Step 5: Save the file as a CSV

Submit your output as a CSV file.

Reference tables

Use these reference tables to create your output and apply the required column definitions and validation rules.

Reference for tabular outputs

Table 1: Data columns

Table 2: Variable columns

Table 3: Evidence columns

Reference for model outputs

Table 4: Model output columns

Data downloads

Standard output format examples (not real data)

Data files
Back to top of the page