Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Datastream /
avatar image
Question by Pocari Sweat · Jul 14, 2020 at 06:26 AM · datastreamdsws

Getting CO2 Emissions data from Datastream (eg: datatype 'ENERDP023')

Hi all,

I would like to get CO2 data for the ENERDP.. DataTypes (as per http://product.datastream.com/browse/search.aspx?dsid=ZCAZ146&AppGroup=DSAddin&dt=true&q=CO2&prev=dtx1%7C0001_0001_0006&subset=dtx1%7C0001_0001_0006 )

I need to use DataStream programatically (R or Python or whatever) for this (no Eikon API)

I thought I was in luck, because the R tutorial at https://developers.refinitiv.com/sites/default/files/Getting%20Started%20with%20R_0.pdf actually uses the ENERDP.. points in its final example. But, running that R code only returns NA values for all the ENERDP points. (works with something simple like P for price, but 'NA' for the ENERDP..)

My question is: should that R tutorial be returning data for ENERDP023 for example? If so, any ideas why I only receive NA, no matter if I go back -20Y years? If those dataTypes truly don't have data behind them, why? Is it just a bad tutorial? Or are there a very limited number of securities that have this data, and does anyone have any examples?


Any help appreciated,

thanks

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Reply

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by jirapongse.phuriphanvichai · Jul 17, 2020 at 03:34 AM

@Pocari Sweat

I have run the code and found that some data points are NA for "ENERDP024", "ENERDP025", "ENERDP096", "ENERDP023", "ENERDP123", and "ENERO03V".

xtsData <- mydsws$timeSeriesListRequest(instrument =
c("U:F","U:BA","U:CAT","U:CVX","U:KO","U:XOM","@INTC","U:JNJ","U:IBM"),
 datatype =
c("ENERDP024","ENERDP025","ENERDP096","ENERDP023","ENERDP124","ENERDP027","ENERDP123","ENPIDP029","ENERO03V"),
 startDate = "-10Y",
 endDate = "-0D",
 frequency = "Y")

It returns all NA for "ENERDP124", and "ENERDP027".

For "ENPIDP029", only "U:F" returns the data.

To verify the data, you can directly contact the DataStream support team via MyRefinitiv.




1594956615027.png (16.7 KiB)
1594956805770.png (17.4 KiB)
Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
7 People are following this question.

Related Questions

Date format and column headings

Getting token error for DSWS

How to get time series of forecast data in R API

Is there any way to go from SEDOL to mnemonic?

How Expressions are accounted in DSWS request limits?

  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • World-Check Data File
  • Explore
  • Tags
  • Questions
  • Badges