Skip to content

Commit

Permalink
refactoring: Update of seeding data plus fix of units
Browse files Browse the repository at this point in the history
  • Loading branch information
martintomas committed Nov 6, 2023
1 parent 9d87dc6 commit f927a16
Show file tree
Hide file tree
Showing 7 changed files with 392 additions and 388 deletions.
4 changes: 4 additions & 0 deletions app/assets/stylesheets/tpi/pages/ascor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,10 @@ $see-more-width-tablet: 130px;
text-align: center;
min-width: 80px;
font-size: small;

sub {
font-size: 8px;
}
}

&__source {
Expand Down
3 changes: 2 additions & 1 deletion app/javascript/components/tpi/AscorRecentEmissions.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ const AscorRecentEmissions = ({
<>
<div className="country-assessment__break" />
<div className="country-assessment__metric__text">
{recentEmissions.value} {recentEmissions.unit}
<span>{recentEmissions.value} </span>
<span dangerouslySetInnerHTML={{__html: recentEmissions.unit.replace('₂', '<sub>2</sub>')}} />
</div>
</>
)}
Expand Down
114 changes: 56 additions & 58 deletions db/seeds/tpi/ascor_assessment_indicators.csv
Original file line number Diff line number Diff line change
@@ -1,83 +1,81 @@
Id,Type,Code,Text,Units or response type
,pillar,EP,Emissions Pathways,
,area,EP.1,Emissions Trends,Yes/No/Partial
,indicator,EP.1.a,Have the country’s emissions decreased in recent years?,Yes/No
,metric,EP.1.a.i,What is the country's most recent emissions level?,MtCO2e
,metric,EP.1.a.ii,What is the country's most recent emissions trend?,%
,indicator,EP.1.b,Is the most recent 3-year trend aligned with meeting the country's 1.5°C benchmark?,Yes/No
,indicator,EP.1.c,Is the most recent 3-year trend aligned with meeting the country’s 1.5°C fair share?,Yes/No
Id,Type,Code,Text,Units or response type
,pillar,EP,Emission Pathways,
,area,EP.1,Emission Trends,Yes/No/Partial
,indicator,EP.1.a,Have the country’s emissions decreased in the last 5 years?,Yes/No/Not applicable/Exempt/No data/No or unsuitable disclosure/No or unsuitable disclosure
,metric,EP.1.a.i,What is the country's most recent emission level?,MtCO₂e
,metric,EP.1.a.ii,What is the country's most recent emission trend?,%
,indicator,EP.1.b,Is the most recent 5-year trend aligned with meeting the country's 1.5°C benchmark?,Yes/No/Not applicable/Exempt/No data/No or unsuitable disclosure
,indicator,EP.1.c,Is the most recent 5-year trend aligned with meeting the country’s 1.5°C fair share?,Yes/No/Not applicable/Exempt/No data/No or unsuitable disclosure
,area,EP.2,2030 Targets,Yes/No/Partial
,indicator,EP.2.a,Has the country set a 2030 emission reduction target?,Yes/No
,indicator,EP.2.a,Has the country set a 2030 emission reduction target?,Yes/No/Not applicable/Exempt/No data/No or unsuitable disclosure
,metric,EP.2.a.i,What is the target reduction relative to 2019 emissions?,%
,indicator,EP.2.b,Does the country specify whether and how much carbon credits may contribute to its 2030 target?,Yes/No
,indicator,EP.2.b,Does the country specify whether and how much carbon credits may contribute to its 2030 target?,Yes/No/Not applicable/Exempt/No data/No or unsuitable disclosure
,metric,EP.2.b.i,What percentage of the 2030 target will be met using carbon credits?,%
,indicator,EP.2.c,Is the country’s 2030 target aligned with its national 1.5°C benchmark?,Yes/No
,metric,EP.2.c.i,What is the degree of alignment with its national 1.5°C benchmark?,%
,indicator,EP.2.d,Is the country’s 2030 target aligned with its national 1.5°C fair share?,Yes/No
,metric,EP.2.d.i,What is the degree of alignment with its national 1.5°C fair share?,%
,indicator,EP.2.c,Is the country’s 2030 target aligned with its 1.5°C benchmark?,Yes/No/Not applicable/Exempt/No data/No or unsuitable disclosure
,metric,EP.2.c.i,What is the degree of alignment with its 1.5°C benchmark?,%
,indicator,EP.2.d,Is the country’s 2030 target aligned with its 1.5°C fair share?,Yes/No/Not applicable/Exempt/No data/No or unsuitable disclosure
,metric,EP.2.d.i,What is the degree of alignment with its 1.5°C fair share?,%
,area,EP.3,Net Zero Targets,Yes/No/Partial
,indicator,EP.3.a,Has the country set a net zero CO2 target?,Yes/No
,metric,EP.3.a.i,In what year is the net zero CO2 target set?,Year
,indicator,EP.3.b,Is the country’s net zero CO2 target aligned with a global 1.5°C scenario? ,Yes/No
,indicator,EP.3.c,Is the country’s net zero CO2 target aligned with an accelerated deadline for high-income countries? ,Yes/No
,indicator,EP.3.a,Has the country set a net zero CO₂ target?,Yes/No/Not applicable/Exempt/No data/No or unsuitable disclosure
,metric,EP.3.a.i,In what year is the net zero CO₂ target set?,Year
,indicator,EP.3.b,Is the country’s net zero CO₂ target aligned with a global 1.5°C scenario? ,Yes/No/Not applicable/Exempt/No data/No or unsuitable disclosure
,indicator,EP.3.c,Is the country’s net zero CO₂ target aligned with an accelerated deadline for high-income countries? ,Yes/No/Not applicable/Exempt/No data/No or unsuitable disclosure
,pillar,CP,Climate Policies,
,area,CP.1,Climate Legislation,Yes/No/Partial
,indicator,CP.1.a,Does the country have a framework climate law or equivalent?,Yes/No
,indicator,CP.1.b,Does the country's framework climate law specify key accountability elements?,Yes/No
,area,CP.2,Carbon Pricing,Yes/No/Partial
,indicator,CP.2.a,Does the country have a carbon pricing system?,Yes/No
,indicator,CP.2.b,Does the country's carbon pricing system(s) cover at least 50% of national GHG emissions?,Yes/No
,indicator,CP.1.a,Does the country have a framework climate law or equivalent?,Yes/No/Not applicable/Exempt/No data/No or unsuitable disclosure
,indicator,CP.1.b,Does the country's framework climate law specify key accountability elements?,Yes/No/Not applicable/Exempt/No data/No or unsuitable disclosure
,area,CP.2,Carbon Pricing,Yes/No/Partial/Exempt
,indicator,CP.2.a,Does the country have a carbon pricing system?,Yes/No/Not applicable/Exempt/No data/No or unsuitable disclosure
,indicator,CP.2.b,Does the country's carbon pricing system(s) cover at least 50% of national GHG emissions?,Yes/No/Not applicable/Exempt/No data/No or unsuitable disclosure
,metric,CP.2.b.i,What percentage of national GHG emissions is covered by an explicit carbon price?,%
,indicator,CP.2.c,Is the carbon price at least at the floor of a global carbon price corridor aligned with the Paris Agreement?,Yes/No
,metric,CP.2.c.i,What is the country's most recent explicit carbon price?,US$/tCO2
,area,CP.3,Fossil Fuels,Yes/No/Partial
,indicator,CP.3.a,Has the country committed to a deadline to phase out fossil fuel subsidies?,Yes/No
,indicator,CP.2.c,Is the carbon price at least at the floor of a global carbon price corridor aligned with the Paris Agreement?,Yes/No/Not applicable/Exempt/No data/No or unsuitable disclosure
,metric,CP.2.c.i,What is the country's most recent explicit carbon price?,US$/tCO₂e
,area,CP.3,Fossil Fuels,Yes/No/Partial/Exempt
,indicator,CP.3.a,Has the country committed to a deadline to phase out fossil fuel subsidies?,Yes/No/Not applicable/Exempt/No data/No or unsuitable disclosure
,metric,CP.3.a.i,By what year has the country committed to phase out fossil fuel subsidies?,Year
,indicator,CP.3.b,Does the country publish an inventory of direct fossil fuel subsidies? ,Yes/No
,indicator,CP.3.b,Does the country publish an inventory of direct fossil fuel subsidies? ,Yes/No/Not applicable/Exempt/No data/No or unsuitable disclosure
,metric,CP.3.b.i,How much is spent annually on explicit fossil fuel subsidies as a percentage of GDP?,%
,metric,CP.3.b.ii,What is the country's most recent 3-year trend in fossil fuel subsidies?,%
,indicator,CP.3.c,Has the country committed not to approve new coal mines?,Yes/No
,indicator,CP.3.c,Has the country committed not to approve new coal mines?,Yes/No/Not applicable/Exempt/No data/No or unsuitable disclosure
,metric,CP.3.c.i,What is the level of coal rents in the country as a percentage of GDP?,%
,indicator,CP.3.d,Has the country committed not to approve new long lead time upstream oil and gas projects?,Yes/No
,indicator,CP.3.d,Has the country committed not to approve new long-lead-time upstream oil and gas projects?,Yes/No/Not applicable/Exempt/No data/No or unsuitable disclosure
,metric,CP.3.d.i,What is the level of oil rents in the country as a percentage of GDP?,%
,metric,CP.3.d.ii,What is the level of natural gas rents in the country as a percentage of GDP?,%
,area,CP.4,Sectoral Transitions,Yes/No/Partial
,indicator,CP.4.a,Does the country have a long-term multi-sector climate strategy?,Yes/No
,indicator,CP.4.b,Does the country have a law and target on energy efficiency?,Yes/No
,area,CP.4,Sectoral Transitions,Yes/No/Partial/Exempt
,indicator,CP.4.a,Does the country have a long-term multi-sector climate strategy?,Yes/No/Not applicable/Exempt/No data/No or unsuitable disclosure
,indicator,CP.4.b,Does the country have a law and target on energy efficiency?,Yes/No/Not applicable/Exempt/No data/No or unsuitable disclosure
,metric,CP.4.b.i,What is the country's energy intensity of primary energy?,MJ/PPP-adjusted GDP
,indicator,CP.4.c,Has the country established mandatory reporting of climate-related disclosures?,Yes/No
,metric,CP.4.c.i,What share of the highest-emitting companies headquartered in the country have integrated climate change into their corporate strategy?,%
,metric,CP.4.c.ii,What share of the highest-emitting companies headquartered in this country have long-term targets aligned with 1.5°C?,%
,indicator,CP.4.d,Has the country set a net zero electricity target aligned with 1.5°C?,Yes/No
,indicator,CP.4.c,Has the country established mandatory climate-related disclosure?,Yes/No/Not applicable/Exempt/No data/No or unsuitable disclosure
,indicator,CP.4.d,Has the country set a net zero electricity target aligned with 1.5°C?,Yes/No/Not applicable/Exempt/No data/No or unsuitable disclosure
,metric,CP.4.d.i,What percentage of the country’s electricity generation is from low-carbon sources?,%
,indicator,CP.4.e,Has the country increased its protected areas as a percentage of total land area over the last 5 years?,Yes/No
,indicator,CP.4.e,Has the country increased its protected areas as a percentage of total land area over the last 5 years?,Yes/No/Not applicable/Exempt/No data/No or unsuitable disclosure
,metric,CP.4.e.i,What is the amount of protected area in the country as a percentage of total land area?,%
,area,CP.5,Adaptation,Yes/No/Partial
,indicator,CP.5.a,Has the country published a National Adaptation Plan?,Yes/No
,indicator,CP.5.b,Does the country regularly publish national climate risk assessments?,Yes/No
,indicator,CP.5.c,Has the country published a Monitoring & Evaluation report on implementing adaptation?,Yes/No
,indicator,CP.5.d,Does the country have a multi-hazard early warning system?,Yes/No
,indicator,CP.5.e,Is the country part of a sovereign catastrophe risk pool?,Yes/No
,indicator,CP.5.a,Has the country published a National Adaptation Plan?,Yes/No/Not applicable/Exempt/No data/No or unsuitable disclosure
,indicator,CP.5.b,Does the country regularly publish national climate risk assessments?,Yes/No/Not applicable/Exempt/No data/No or unsuitable disclosure
,indicator,CP.5.c,Has the country published a Monitoring & Evaluation report on implementing adaptation?,Yes/No/Not applicable/Exempt/No data/No or unsuitable disclosure
,indicator,CP.5.d,Does the country have a multi-hazard early warning system?,Yes/No/Not applicable/Exempt/No data/No or unsuitable disclosure
,indicator,CP.5.e,Is the country part of a sovereign catastrophe risk pool?,Yes/No/Not applicable/Exempt/No data/No or unsuitable disclosure
,area,CP.6,Just Transition,Yes/No/Partial
,indicator,CP.6.a,"Has the country ratified fundamental human, labour, and Indigenous rights conventions? ",Yes/No
,indicator,CP.6.a,"Has the country ratified fundamental human, labour, and Indigenous rights conventions? ",Yes/No/Not applicable/Exempt/No data/No or unsuitable disclosure
,metric,CP.6.a.i,At what percentile is the country's Voice and Accountability estimate?,%
,indicator,CP.6.b,Does the country have an inclusive and institutionalised approach on just transition?,Yes/No
,indicator,CP.6.c,Does the country have a green jobs strategy?,Yes/No
,indicator,CP.6.d,Does the country integrate just transition into its carbon pricing or fossil fuel subsidy reform?,Yes/No
,indicator,CP.6.b,Does the country have an inclusive and institutionalised approach on just transition?,Yes/No/Not applicable/Exempt/No data/No or unsuitable disclosure
,indicator,CP.6.c,Does the country have a green jobs strategy?,Yes/No/Not applicable/Exempt/No data/No or unsuitable disclosure
,indicator,CP.6.d,Does the country integrate just transition into its carbon pricing?,Yes/No/Not applicable/Exempt/No data/No or unsuitable disclosure
,pillar,CF,Climate Finance,
,area,CF.1,International Climate Finance,Yes/No/Partial
,indicator,CF.1.a,Does the country contribute at least a proportional share of the $100 billion commitment to climate finance?,Yes/No
,area,CF.1,International Climate Finance,Yes/No/Partial/Exempt
,indicator,CF.1.a,Does the country contribute at least a proportional share of the $100 billion commitment to climate finance?,Yes/No/Not applicable/Exempt/No data/No or unsuitable disclosure
,metric,CF.1.a.i,What is the country’s 3-year average climate finance contributions as a % of GDP?,%
,indicator,CF.1.b,Has the country set a target for increasing its international climate finance contributions?,Yes/No
,indicator,CF.1.b,Has the country set a target for further increasing its international climate finance contributions?,Yes/No/Not applicable/Exempt/No data/No or unsuitable disclosure
,metric,CF.1.b.i,What is the country’s targeted level of international climate finance contributions as a % of GDP?,%
,area,CF.2,Transparency of Climate Costing,Yes/No/Partial
,indicator,CF.2.a,Has the country disclosed a transparent breakdown of the costs of implementing its Nationally Determined Contribution?,Yes/No
,indicator,CF.2.b,Has the country disclosed a transparent breakdown of the costs of implementing its National Adaptation Plan?,Yes/No
,area,CF.3,Transparency of Climate Spending,Yes/No/Partial
,indicator,CF.3.a,Has the country disclosed its climate-related expenditures?,Yes/No
,indicator,CF.3.b,Has the country published a transparent climate budget tagging report?,Yes/No
,area,CF.2,Transparency of Climate Costing,Yes/No/Partial/Exempt
,indicator,CF.2.a,Has the country disclosed a transparent breakdown of the costs of implementing its Nationally Determined Contribution?,Yes/No/Not applicable/Exempt/No data/No or unsuitable disclosure
,indicator,CF.2.b,Has the country disclosed a transparent breakdown of the costs of implementing its National Adaptation Plan?,Yes/No/Not applicable/Exempt/No data/No or unsuitable disclosure
,area,CF.3,Transparency in Climate Spending,Yes/No/Partial
,indicator,CF.3.a,Has the country disclosed its climate-related expenditures?,Yes/No/Not applicable/Exempt/No data/No or unsuitable disclosure
,indicator,CF.3.b,Does the country apply climate budget tagging?,Yes/No/Not applicable/Exempt/No data/No or unsuitable disclosure
,area,CF.4,Renewable Opportunities,
,metric,CF.4.i,What is the scale of the country's prospective solar energy capacity?,MW/GDP
,metric,CF.4.i,What is the country's prospective solar energy capacity?,MW/GDP
,metric,CF.4.ii,What is the country’s prospective wind energy capacity?,MW/GDP
,metric,CF.4.iii,What is the country’s prospective geothermal energy capacity?,MW/GDP
,metric,CF.4.iv,What is the country’s prospective hydroelectric energy capacity?,MW/GDP
,metric,CF.4.iv,What is the country’s prospective hydroelectric energy capacity?,MW/GDP
Loading

0 comments on commit f927a16

Please sign in to comment.