Upgrade from Eikon -> Workspace. Learn about programming differences.

For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 1

Database Economic Variables

Hi, I am trying to build a database to then export into excel with economic variables of different countries. I have certain tickers in an excel file in column A, for simplicity, let's assume these: aTWWOGDPR, aCNWOGDPR, aJPWOGDPR.

I would like to create a database where I extract the values in Column A, Country in column B, Year in column C, month in column D. In a monthly way for Sheet 1, and in a Quarterly way in Sheet 2 (JFM, AMJ, JAS, OND).

I did make a code for future prices but it is not working well when I switch to the economic variables. I can share this if of any help, though is quite big, not the most efficient code. Any help or idea please?

Thank you

eikoneikon-data-apirefinitiv-dataplatform-eikonworkspaceworkspace-data-api#technologyapi#contenteconomic-data
icon clock
10 |1500

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

@a.valentin

Hi,

Thank you for your participation in the forum.

Is the reply below satisfactory in answering your question?

If yes please click the 'Accept' text next to the reply. This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your question.

Thanks,

AHS

Hi,

Please be informed that a reply has been verified as correct in answering the question, and marked as such.

Thanks,

AHS

Upvote
Accepted
10.2k 18 6 9

@a.valentin Thanks for your question. I have written an article on how to work with Economic Data using the Eikon Data API you can find it here. This tells you how to work with such indicators. One thing to be aware of is the frequency of the economic release - ie weekly, monthly, quarterly, yearly etc. This is all available in the GUI Search application in Eikon:

1675080208034.png

With our new Search API and Refinitiv Data Library - we also have a programmatic content discovery workflow for economic indicators - both real-time and non-realtime:

df = rd.discovery.search(
    view = rd.discovery.Views.INDICATOR_QUOTES,
    top = 10000,
    query = "UK",
    select = "DocumentTitle,BusinessEntity,PermID,PI,RIC,Periodicity,IndicatorType,Source",
    filter = "IndicatorType eq 'infl'"
)

df

1675095156048.png

for more information on our Search API please read this article and accompanying jupyter notebook containing many samples.

I hope this can help.


1675080208034.png (339.0 KiB)
1675095156048.png (404.4 KiB)
icon clock
10 |1500

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

Upvotes
1 0 0 1

Thank you Jason, very much appreciated. I will have a look at it and give you some feedback.

Thank you once again.

icon clock
10 |1500

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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