Hi Herm, thanks for the response. I am afraid my level of understanding is still too basic to fully comprehend what you mean ( I am new both to XBRL as well as the entire financial world)
I sucessfully downloaded your xbrl_db_SEC.pg.zip from the site via wget. It was around 20GB. I am in the process of importing it into my local postgres server --> its still populating and is around 250GB so far. Per your email to me, it will reach around 500GB. I am fine with that size. My understanding is that this database is basically going to give me a local copy of all SEC filings without me having to grab them 1 by 1 from SEC (which is very slow)
Now the reason I downloaded this DB was I was hoping once populated, I can use some arelle web services API (I have your webservices instance running on my mac and arelle has the pg XBRL db plugin installed and connected to my pg server) to query basic financial data
(the example I like quoting is "get me a list of all companies that have market cap >$1B in 2013")
I understand the statement above is a human readable statement and that it will need to be translated to a specific set of parameters through the web services API.
Is this understanding correct on my behalf? If this understanding is correct, can someone please help me with
a) what is the exact web services url construct that will return the list of companies for my above human readable query?
If instead you are saying that the webservices APIs that arelle exposes are not intended to work on the local database, then fine, I don't mind executing direct post gres queries either, in whih case my question translates to
a) what is the exact postgres sql construct that will return the list of companies for my above human readable query?
Thank you for your patience
--
Arjun Roychowdhury