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.3 Recommended ZIP name
bnr_cvd_cases_2023_v1.zip
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
.dtafiles - private logs
- local path files
2 Stage 1: Confirm the approved site copy
NoteStep 1. Check the site download folder
site/downloads/files/briefings/cvd_cases_2023_v1/
3 Stage 2: Create the ZIP file
NoteStep 1. Run PowerShell compression
$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 $zip4 Stage 3: Link the ZIP file
NoteStep 1. Add a link to the HTML briefing or catalogue
Example:
[Download full public ZIP bundle](../../../downloads/files/briefings/cvd_cases_2023_v1/bnr_cvd_cases_2023_v1.zip)
WarningCheck the ZIP before publishing
Open the ZIP and confirm it contains only approved public files.