| Column name | Description | Requirements |
|---|---|---|
| COUNT | The unweighted, unrounded count of units, such as people, businesses or households, in the intersection of all VAR_[variable] columns | May require COUNT_SECONDARY_CONTRIBUTORS |
| COUNT_SUPPRESSED | COUNT after applying the rule of 10, including consequential suppression | Requires COUNT COUNT must be prefixed with EVIDENCE_. |
| COUNT_WEIGHTED | Weighted COUNT | Requires COUNT |
| COUNT_ROUNDED | Rounded COUNT Must be rounded using one of these methods:
| Requires COUNT COUNT must be prefixed with EVIDENCE_. |
| PROPORTION | COUNT divided by COUNT_DENOMINATOR COUNT must be a subset of COUNT_DENOMINATOR | Requires COUNT, COUNT_DENOMINATOR and COUNT_COMPLEMENT Must be in decimal format (0.xx), not a percentage (xx%) |
| PROPORTION_WEIGHTED | COUNT_WEIGHTED divided by COUNT_DENOMINATOR_WEIGHTED | Requires COUNT_WEIGHTED, COUNT_DENOMINATOR_WEIGHTED |
| PROPORTION_ROUNDED | COUNT_ROUNDED divided by COUNT_DENOMINATOR_ROUNDED | Requires COUNT_ROUNDED and COUNT_DENOMINATOR_ROUNDED |
| RATIO | COUNT divided by COUNT_DENOMINATOR COUNT does not need to be a subset of COUNT_DENOMINATOR | Requires COUNT and COUNT_DENOMINATOR Must be in decimal format (x.xx), not a percentage (xxx%) |
| RATIO_WEIGHTED | COUNT_WEIGHTED divided by COUNT_DENOMINATOR_WEIGHTED | Requires COUNT_WEIGHTED and COUNT_DENOMINATOR_WEIGHTED |
| RATIO_ROUNDED | COUNT_ROUNDED divided by COUNT_DENOMINATOR_ROUNDED | Requires COUNT_ROUNDED and COUNT_DENOMINATOR_ROUNDED |
| MEAN | The average of OUTCOME_VARIABLE for the intersection of all VAR_[variable] columns | Requires OUTCOME_VARIABLE, COUNT, LARGEST_VALUE, SECOND_LARGEST_VALUE, LARGEST_CONTRIBUTION and TWO_LARGEST_CONTRIBUTIONS If OUTCOME_VARIABLE can have negative values, SUM_ABSOLUTE is required. Otherwise, SUM is required. |
| SUM | The sum of OUTCOME_VARIABLE for the intersection of all VAR_[variable] columns | Requires OUTCOME_VARIABLE, COUNT, LARGEST_VALUE, SECOND_LARGEST_VALUE, LARGEST_CONTRIBUTION and TWO_LARGEST_CONTRIBUTIONS
If OUTCOME_VARIABLE can have negative values, SUM_ABSOLUTE is required.
|
| MEDIAN | The median of OUTCOME_VARIABLE for the intersection of all VAR_[variable] columns This is the same as QUANTILE_0.5. | Requires OUTCOME_VARIABLE and COUNT |
| QUANTILE_[quantile] | A quantile of OUTCOME_VARIABLE for the intersection of all VAR_[variable] columns For example, QUANTILE_0.25 is the first quartile and QUANTILE_0.99 is the 99th percentile. | Requires OUTCOME_VARIABLE and COUNT |
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:
- each output data type listed in Table 1
- each grouping variable listed in Table 2
- each required evidence column listed in Tables 2 and 3.
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
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
Example 1. Counts
Example 2. Proportions
Example 3. Means
Example 4. Quantiles and sums
Example 5. Means and proportions
Example 6. Regressions