Create a public ZIP bundle

BNR info-hub Technical Manual

1 Create a public ZIP bundle

1.1 Purpose

This guide explains how to create an optional public ZIP package for a static briefing release.

The ZIP bundle is useful when users want to download all approved tables, figure data, metadata, and build files together.

1.2 Current status

ZIP bundles are optional. They should be created only after the main static briefing workflow is stable.

1.4 What to include

A public ZIP bundle should include:

tables/
data/
meta.yml
build.yml

It may include figures if useful:

figures/

It should not include:

  • confidential data
  • private prepared .dta files
  • private logs
  • local path files

2 Stage 1: Confirm the approved site copy

site/downloads/files/briefings/cvd_cases_2023_v1/

3 Stage 2: Create the ZIP file

$repo = "C:\yoshimi-hot\output\analyse-bnr\info-hub"
$briefing = "cvd_cases_2023_v1"
$zipName = "bnr_cvd_cases_2023_v1.zip"

$source = "$repo\site\downloads\files\briefings\$briefing"
$zip = "$source\$zipName"

if (Test-Path $zip) {
  Remove-Item $zip -Force
}

Compress-Archive -Path "$source\tables", "$source\data", "$source\meta.yml", "$source\build.yml" -DestinationPath $zip
Back to top