I understand that this entity is not available in your database. Is there a field in the “get_data

I understand that this entity is not available in your database. 

Is there a field in the “get_data” Python command to say whether data for an entity (like 5001448514) is available or not, so that I avoid getting an error if I try to download them?

Answers

  • Jirapongse
    Jirapongse ✭✭✭✭✭

    @Sufiya_Ali12345678

    Thank you for reaching out to us.

    Typically, you can use the Data Item Browser tool to search for fields and parameters.

    This forum is dedicated to software developers using LSEG APIs. The moderators on this forum do not have deep expertise in every bit of content available through LSEG products, which is required to answer content questions such as this one.

    The best resource for content questions is the Helpdesk support team, which can be reached by submitting queries through LSEG Support. The support team will either have the required content expertise ready available or can reach out to relevant content experts to get the answer for you.

    You need to ask for the Excel formula, such as =RDP.Data, that can be used to retrieve the required data.

    Then, we can help you converting that formula to Python code.

  • we don't handle Python queries, please check and confirm

  • Jirapongse
    Jirapongse ✭✭✭✭✭

    You can use the Workspace Excel to verify which data is available.

    You need to ask for the Excel formula, such as =RDP.Data, that can be used to retrieve the required data.
    
  • upon checking with our specialist this needs to be checked with DEV portal

  • In general, if a client want to check if a company is public or private they may use TR.IsPublic data item. 

     When TURE - public, when FALSE - private 

    But client wants to know the data item in Python command to say whether data for an entity (like 5001448514) is available or not,

     

  • Jirapongse
    Jirapongse ✭✭✭✭✭
    edited 1:11PM

    I think this is a private company.

    I checked with the Formula Builder in the Workspace Excel and couldn't see any data available.

    image.png

    The data retrieved using Python's get_data method comes from the same source as the =@RDP.Data function in Excel. If the data is accessible via Excel in the Workspace environment, it's likely that the get_data method in Python can retrieve it as well.

    Please contact the support team to verify this.  

  • if there are any alternate Python codes for client to use?