This script scrapes carbon offset projects from a variety of offset registries.
Currently, these are:
The script will download projects from the registries and then create a relatively normalized CSV file containing the following fields:
name:
the project namelocation:
project locationregistry_id:
the id of the project as listed in its registryregistry_url:
the url of the project in the registryproject_url:
external project url if availabledeveloper:
project developerproject_type:
project typedescription:
project descriptionmethodology:
project methodologytotal_credits:
total credits issuedstatus:
project statusregistry:
registry name
Each scraper will download temporary files in the data
directory. These can be used to extract more specific details from each registry.
If you are interested in adding more registries, feel free to request one in the issues page. Code contributions are also welcome.
Install the requirements with:
pip install -r requirements.txt
To run all the scrapers:
python run.py
This will output two files in the data
folder: offsets.csv
, and offset.json
.
You can also run the scrapers individually. For example, to just download Verra data:
python verra.py
The Berkeley Carbon Trading Project allows you to download a database with more complete historical data, but seems to lack project descriptions.