how to get multi-language company name by eikon api

how to get multi-language company name by eikon api

Best Answer

  • wasin.w
    wasin.w admin
    Answer ✓

    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.

Answers

  • 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.

  • I want to get multi-language company name, such as Japanese, Chinese
  • @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

  • 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