-
|
Hi, I'm trying to extract Revenue data from the income statements of various companies. However, I've noticed that different companies label Revenue differently in their 10-K filings. For example:
Is there a standardized GAAP code or a consistent approach I can use to extract Revenue data across companies? Ideally, I'm looking for a method that handles these naming variations reliably. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
|
Hi. I am not an expert on edgartools but have faced the same problem. Currently I use list consisting of possible options regards GAAP "concept" column. For revenues that is: These are options based on 20-30 companies, maybe there are more. I update them as I discover new ones. |
Beta Was this translation helpful? Give feedback.
-
|
I have just started so treat the lists as very incomplete. So far: |
Beta Was this translation helpful? Give feedback.
-
|
Standardized statements and having the ability to compare companies seems to be a popular topic. The current implementation of financials is geared around getting financials 'as-reported' but standardized statements are also supported. For instance you can call The current limitation is that it currently uses the most likely fact that matches a category e.g. Revenus is The code for standardization is here https://github.com/dgunning/edgartools/blob/main/edgar/xbrl/statements.py#L67. I think it can be changed to have multiple fallback facts from a list, but that list needs to be learnt from actual financials of many companies. If someone already has a list then that would be welcome. I might spend some time of the weekend rerunning a script I had for approx 85 public companies and build the list. |
Beta Was this translation helpful? Give feedback.


Hi. I am not an expert on edgartools but have faced the same problem. Currently I use list consisting of possible options regards GAAP "concept" column. For revenues that is:
These are options based on 20-30 companies, maybe there are more. I update them as I discover new ones.