question

Upvotes
Accepted
1 0 0 0

how to get multi-language company name by eikon api

how to get multi-language company name by eikon api

eikon-data-apipythonworkspace#technology
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
Accepted
27.5k 67 18 14

Hello @joneliu1

According to this How to get the Chinese company name? old post, you can use "DSPLY_NMLL" field to get the company name in the local language.

Example code:

rd.get_data(
    universe=['LSEG.L','7974.T','0001.HK','352820.KS'],
    fields=['TR.CompanyName','DSPLY_NMLL']
)

Result:

result-multilangage.png

Please note the character decode technical from that old post too.


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
27.5k 67 18 14

Hello @joneliu1

You can use the Data Library for Python as follows:

Example Code:

import import refinitiv.data as rd
rd.open_session()
df = rd.get_data(
    universe=['IBM.N','TSLA.O','LSEG.L','0001.HK'], 
    fields = ['TR.CompanyName']
)
print(df)

Result:

result-ld.png

Please note that the version 2 of the Data Library for Python will be rebranded to LSEG Data Library for Python.


result-ld.png (14.2 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.

I want to get multi-language company name, such as Japanese, Chinese
Upvotes
1 1 1 3

@wasin.w Hi Wasin

I can see "TR.CompanyName" can be displayed in Japanese with Excel formula. Wonder if we can do the same with Eikon API ?

1725279405833.png


1725279405833.png (14.7 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.

Hello @noboru.maruyama01

I am assuming that it might be based on your OS locale with the Excel formula. This is a result from my machine:

my-eikon.png

This is a result from the Data Library:

library.png

my-eikon.png (10.4 KiB)
library.png (12.0 KiB)

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.