fossilfuelregistry / portal

3 stars 0 forks source link

Carbon Intensity Update #202

Open OpenOilUG opened 1 year ago

OpenOilUG commented 1 year ago

The task is to reproduce https://fossilfuelregistry.org/carbon-intensity natively in the database instead of through Power BI.

Image

OpenOilUG commented 1 year ago

The data needed are in the table calculation_constants under following SQL query:

_select constant_type , factor , country , unit , fossil_fuel_type from calculation_constants where constant_type = 'PRODUCTION_CO2_FACTOR' or constant_type = 'METHANEINTENSITY' ;

Note:

CI Reviewed EXP.xlsx