Hi team, is the data extracted via LSEG Data Library for Python is same as data in segment template?

Rodwell
Rodwell LSEG
edited April 17 in Eikon Data APIs

"Regarding downloading data in bulk, I would like to download the segment revenue and segment code data for global public firms from 2007 until now. In the template, I can only download such data for one firm in a file and need to refresh and repeat this for many times if I would like to have the data for many firms. So, I was wondering if it is possible to download the data in bulk.

I am also trying to use the LSEG Data Library for Python and using the code below:
“df = ld.get_data(universe = ric,
fields=['TR.BGS.BusTotalRevenue.segmentName', 'TR.BGS.BusTotalRevenue.segmentCode', 'TR.BGS.BusTotalRevenue','TR.CompanyName'])
df”
May I ask if the data extracted via the LSEG Data Library for Python is the same as the data in the segment template?"

Client's name: lea anderton
Account name: The University Of Manchester

Tagged:

Answers

  • Jirapongse
    Jirapongse ✭✭✭✭✭
    edited April 17

    @Rodwell

    Thank you for reaching out to us.

    The client can specify a list of RICs in the universe parameter. For example:

    df = ld.get_data(universe = ['IBM.N','LSEG.L','PTT.BK'],
                     fields=[
                         'TR.BGS.BusTotalRevenue.segmentName', 
                         'TR.BGS.BusTotalRevenue.segmentCode', 
                         'TR.BGS.BusTotalRevenue',
                         'TR.CompanyName'])
    
    df
    

    However, these APIs and libraries are not designed for bulk download.

    Requesting a lot of data may load the server and the request can be timeout.

    The client may contact the LSEG account team or sales team directly to discuss this requirement. We may have other products that are more suitable for this kind of usage.