Filter for companies with Carbon (CO2) emissions.
I wish to filter for U.S. companies with accessible CO2 emissions data. I have implemented this in the screener by establishing filters for, for instance, 5 and 10 years (filtering for GHG Scope 1 emissions > 0). Is there a method to filter for companies that possess emission data spanning the last 10 years (including those with values for the entire decade, as well as those with data available for less than 10 years)?
Is there also a way to obtain the data based on fiscal years beyond 2022, instead of FY 0?
thank you very much for the support
Best Answer
-
@quirin.braml thanks for your question. So I think one way of achieving this is to use a screener query to get a current universe and then go back in time to see what data is available. Also there are concepts such as Scope 1, Scope 2 and Scope 3 Emissions.
import refinitiv.data as rd
import numpy as
import pandas as pd
rd.open_session()Create a screener query for Americas:
df2 = rd.get_data(["SCREEN(U(IN(Equity(active,public,primary))/*UNV:Public*/), TR.HasESGCoverage==true, IN(TR.HeadquartersRegion,""Americas""), CURN=USD)"],["TR.CommonName;TR.HasESGCoverage;TR.HeadquartersRegion"])
Define a chunking function - so we remain compliant with API per call limits:
def chunks(l, n):
for i in range(0,len(l),n):
yield l[i:i+n]Create routine to loop through our chunks to get the data we need - i included some CO2 energy intensity calcs:
CEI = Employee Productivity * Energy Intensity * CO2 Intensity
rics1 = list(chunks(list(df2['Instrument'].values),1000))
rics1
maindf= pd.DataFrame()
for ric in rics1:
df3 = rd.get_data('0#.SPX',['TR.TRBCEconomicSector','TR.F.SalesPerEmp(Period=FY0)','TR.AnalyticEnergyUse(Period=FY0)','TR.CO2EmissionTotal(Period=FY0)','TR.CO2IndirectScope3(Period=FY0)','TR.EnergyUseTotal(Period=FY0)'])
df3.columns = ['Instrument','Sector','Revenue/Employee','EnergyUse/Revenue','CO2Emissions','CO2EmissionsScope3','EnergyUse']
df3['CO2Emissions/EnergyUse'] = df3['CO2Emissions'] / df3['EnergyUse']
df3['CO2Scope12/EnergyUse'] = df3['CO2Emissions'] / df3['EnergyUse']
df3['CO2Scope123/EnergyUse'] = (df3['CO2Emissions'] + df3['CO2EmissionsScope3']) / df3['EnergyUse']
df3['CEIScope12'] = df3['Revenue/Employee'] * df3['EnergyUse/Revenue'] * df3['CO2Emissions/EnergyUse']
df3['CEIScope123'] = d3['Revenue/Employee'] * df3['EnergyUse/Revenue'] * df3['CO2Scope123/EnergyUse']
if len(df3):
maindf = pd.concat([maindf, df3], axis=0)
maindfYou can then aggregate by sector and plot for example. I hope this can help.
1
Categories
- All Categories
- 6 AHS
- 37 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 367 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 59 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛