Awesome
Plastics Supplemental Scripts
Supporting scripts and graphics for documentation of the Global Plastics AI Policy Tool.
Purpose
A collection of small scripts used to support the preparation of derivative datasets and secondary graphs which complement the Global Plastics AI Policy Tool. See also the main tool repository that these scripts support.
Usage
Simply install python dependencies (pip install -r requirements.txt
) and execute the small pipeline (bash run_pipeline.sh
). Note that this does not run the optional OpenRefine script to generate supplemental dataset 1 under the refine
subdirectory.
Local development environment
No additional steps beyond install of python dependencies (pip install -r requirements.txt
) are required though users may consider building a virtual environment.
Testing
As these are just small supporting scripts, there are not explicit style guidelines or separate automated tests which are enforced in the upstream repository.
Deployment
Simply merging to main
will cause the scripts to execute and their results packaged. Note that these are not permanent resources so there is no "deployment" location and, instead, are simply made available for the convienence of users as further supplementary material.
License
This repository is made available under the BSD 3-Clause License as further described in LICENSE.md
.
Open source
This repository uses the following open source resources:
- Matplotlib under the PSF License.
- NumPy under the BSD License.
- OpenRefine under the BSD License.
- pandas under the BSD License.
- Sketchingpy under the BSD License.
- scikit-learn under the BSD License.
- PyToolz under the BSD License
Some scripts also use:
- Color Brewer v2 under the Apache v2 License.
- Public Sans under the CC0 License.
- SQLite which is in the public domain.
We thank these projects for their contribution.