Skip to content

About

Plain-English sustainability (ESG) profiles of every company listed on the ASX, NZX, PNGX and SPX, plus private businesses. Searchable website.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Sustainability Database

Plain-English sustainability profiles of every company listed on the ASX, NZX, PNGX and SPX, plus researched private businesses. Published with GitHub Pages.

How the site works

Every page is generated from the data files by build.py. Don't edit the HTML pages by hand; edit the data and rebuild.

data/listings/companies.csv     every listed ASX and NZX company (generated by tools/prepare_listings.py)
data/listings/asx_details.json  ASX descriptions, websites, addresses and index membership (tools/fetch_asx.py)
data/listings/nzx_details.json  NZX websites and addresses (tools/fetch_nzx.py)
data/listings/pacific.csv       companies on the PNGX and Fiji's SPX
data/listings/excluded.csv      securities left out (ETFs, bond issuers, securitisation trusts) and why
data/profiles/<slug>.json       researched profiles
data/sectors.json               what matters in each industry group
data/site.json                  the public web address, and a custom domain if you have one
data/link_report.json           results of the monthly source link check (tools/check_links.py)
assets/css/site.css             the one stylesheet for the whole site
assets/js/site.js               theme, sortable tables and search
downloads/                      the whole database as CSV and JSON (generated)
reports/link-report.md          broken and blocked source links to fix (generated)
notes/                          research notes and drafts (not published as pages)

Rebuild after any change:

python3 build.py

Adding a full profile

  1. Find the company's slug in data/listings/companies.csv (for example bhp-group).
  2. Copy data/profiles/agl-energy.json to data/profiles/<slug>.json and fill it in.
  3. For a private business, also add "private": true, "name" and "sector" (one of the names in data/sectors.json).
  4. Run python3 build.py.

House rules (the build checks these)

  • Every claim in the summary, rating reason, strengths, concerns, climate points and people and governance points needs a source: {"t": "the claim", "s": [1, 2]}, where the numbers point to references.
  • A judgement made by the database rather than a fact from a source is written as {"t": "...", "basis": "assessment"}. It shows on the page as "Our assessment".
  • Each of the four rating areas (climate, environment, social, governance) must be A, B, C, D or E.
  • Flags use "level": "high", "medium" or "low". High exposure needs a source.
  • last_reviewed looks like 13 November 2026. Profiles older than a year show an "out of date" notice.

If a rule is broken, the build stops and lists every problem.

Automatic monthly refresh

.github/workflows/refresh.yml runs on the 1st of each month. It downloads the latest ASX list and company details, fetches NZX company details, checks every source link, rebuilds the site and commits the result. It can also be run by hand from the Actions tab.

Custom domain

Buy a domain, then set "custom_domain" in data/site.json (for example "sustainabilitydatabase.org") and rebuild. The build writes the CNAME file and uses the new address in links, the sitemap and share previews. Then follow GitHub's guide to point the domain at GitHub Pages.

Writing more full profiles

data/profile_queue.csv lists every company still without a full profile, biggest first (ASX 100, ASX 200, ASX 300, NZX, then the rest; listed investment companies are left out). Work from the top. tools/profile_helper.py has the mk() function used to write a profile in the house format; every claim needs a numbered source or must be marked as our assessment, and python3 build.py will refuse to build if one is missing. Remove a company from the queue once its profile is in.

About

Plain-English sustainability (ESG) profiles of every company listed on the ASX, NZX, PNGX and SPX, plus private businesses. Searchable website.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages