YAML for SQL table names
The following YAML for the SQL insert resides at
profile/impacts/exibase/US-source
Yaml-2-SQL table python from
From ChatGPT which resides in the textarea below.
A version of the following resides in our
generate_import_factors.py which we are replacing with a direct pull from the Exiobase API.
The previous Exiobase CSV file exports pulled by the US EPA code reside in
impacts/exiobase/US-source. Initilly the following was created to use yaml to rename CSV columns when pulling into Supabase. We are aiming to avoid using the US EPA csv files with a new version of the Exiobase pull that works for all countries.
YAML for SQL table names
Not in use, outputting to
.csv files instead.
See overview of trade data pulls at
profile/trade.