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 1 3

is there a way to get refinery outages (new version) via API ? Thank you in advance

eikoneikon-data-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-apiapidata
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.

@fgashi

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

1 Answer

· Write an Answer
Upvotes
Accepted
10.2k 18 6 9

@fgashi So this is a two step operations involving both our RDP library and also our Eikon Data API

import refinitiv.dataplatform as rdp
import refinitiv.dataplatform.eikon as ek
import pandas as pd
rdp.open_desktop_session('YOUR APP KEY HERE')
ek.set_app_key('YOUR APP KEY HERE')

dfRic = rdp.search(
    view = rdp.SearchViews.PhysicalAssets,
    filter = "RCSAssetTypeLeaf eq 'oil refinery'",
    top=10000
)

df, err = ek.get_data(instruments = dfRic['RIC'].astype(str).values.tolist(),fields = 
                      ["TR.AssetName","TR.AssetLongitude","TR.AssetLatitude","TR.AssetCapacity",
                       "TR.AssetStatus"])

df

I hope this can help.


1614964384839.png (234.6 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.

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.