Skip to content

Open data

The reference data behind the free tools, as files to download and a package to install. Each dataset is on Hugging Face and GitHub, and archived on Zenodo with a DOI.

Datasets

Each dataset keeps its source’s licence, mostly the Open Government Licence v3.0. The licence file in each repository says how to credit it.

EWC codes package

All 842 UK List of Waste codes, with hazardous flags, WM3 entry types and mirror partners, for JavaScript and TypeScript. No runtime dependencies and no network calls.

npm install complyonsite-ewc-codes
import { lookup, search, isHazardous, mirrorPartners } from 'complyonsite-ewc-codes';

lookup('17 09 04')?.description;
// 'mixed construction and demolition wastes other than those mentioned in 17 09 01, 17 09 02 and 17 09 03'
isHazardous('17 06 05');                          // true
mirrorPartners('17 09 04').map(e => e.display);   // ['17 09 01*', '17 09 02*', '17 09 03*']
search('asbestos');                               // entries whose official text matches

ES modules only. The repository also has the data as one JSON file and a small Python module. Code: MIT. Data: Open Government Licence v3.0. complyonsite-ewc-codes on npm.

Elsewhere on this site