Script to extract data from UK petitions site related to environmental petitions, get constituency data counts, and analyse outlier petitions per constituency.
environmental petitions are extracted using broad keywords, and then narrowed using GPT-3. You will need to set OPENAI_API_KEY.
This repository is available online at https://github.com/mysociety/uk-parl-petitions-scraper
If Github Pages are enabled, the URL is: https://mysociety.github.io/uk-parl-petitions-scraper/
Instructions on using the features of this notebook (data publishing, notebook rendering, Github Pages) are available in [https://github.com/mysociety/data_common/blob/main/data-repo-readme.md](Data Common readme file).