edgartools icon indicating copy to clipboard operation
edgartools copied to clipboard

Is it possible to extract other tabular data from filings other than the financial statement?

Open mithunthakkar8 opened this issue 1 year ago • 5 comments

Hi Dwight,

Really thankful again for this library. Would like to ask if there is a way to extract tabular data in dataframe format other than the financial statements from each filing? That would be really good.

Regards, Mithun.

mithunthakkar8 avatar Mar 08 '25 07:03 mithunthakkar8

Tried this - filings[0].xbrl().get_statement('DisclosureSegmentAndRelatedInformationSalesDetails').get_dataframe(). This did not parse into a dataframe properly I guess because the fomatting is very different from regular financial statements. Tried for Ticker SCCO, latest filing.

mithunthakkar8 avatar Mar 09 '25 07:03 mithunthakkar8

I haven't done a lot of work on the auxilliary table yet but its in the plans.

Another way to view is to go through the filing reports. I also plan to add conversion to dataframes but haven't just yet

Image

dgunning avatar Mar 09 '25 18:03 dgunning

Hi Dwight,

I tried to download the full text of a 10k file but found that the inline tables are missing for a filing , [https://www.sec.gov/Archives/edgar/data/783412/000143774924038552/djco20240930d_10k.htm](url) but I could actually access to those tables in text format by calling individual items (e.g. filling.obj()["Item 7"], would it possible to keep all the tables in the text by any chance? Thank you very much in advance!

Best regards, Xiaoxu

xiaoxu-zhao avatar Mar 11 '25 11:03 xiaoxu-zhao

oh yes, btw, I tried to change a little bit on your code to avoid the truncation of the rich text file, I change to window width to 150(in rich_to_text), otherwise if I save the text to plain .txt file, some of the tables will be truncated and leaving "..." in the table columns. i am not sure if that would be the best solution though, at least it works for the table truncation for my case so far.. Thanks for developing such great tool!!!

xiaoxu-zhao avatar Mar 11 '25 11:03 xiaoxu-zhao

Thanks Dwight

mithunthakkar8 avatar Mar 14 '25 14:03 mithunthakkar8