Closed SteveBronder closed 8 years ago
I wonder if this has something to do with the previous mismatch column bug?
Hello! I'm OK, thanks.
There are two problems with your API request:
count = 0
inside the xbrlus API response.In the new package version i could only fix the second one and return empty data frame - instead of NA values and warnings. Thanks for finding this.
BTW, there is a way to lookup all fillings for specific company - try:
xbrlNetwork(Element = "Assets", Linkbase = "Calculation", CIK = company)
But it does not return the type of the filling.
... and there is also an option to not define a period type. From original docs:
if not provided all periods are returned.
Awesome thanks!
Related to this:
Can you clarify why, when I go to
https://www.sec.gov/Archives/edgar/full-index/1994/QTR2/
and search through company.idx, AAR CORP shows up as having filed a 10-Q on 1994-04-14. However when I search with xbrlNetwork()
the earliest it finds is 2010. Does the XBRL API not go as far back as the entire XBRL database? Or is what I found for something else?
Also for xbrlNetwork()
, it seem to fail out for companies that it should not.
For example, Tranzonic Companies only filed from 1995 to 1998, but when xbrlNetwork()
tries to get their filing info it returns an error
xbrlNetwork(Element = c("Liabilities"), Linkbase = "Calculation", CIK = "0000001761")
Error: HTTP error: 500
Mon, 29 Aug 2016 15:45:12
Error - Insufficient Parameters
This call returns too much data. Please revise the attributes to include at least a CIK or Accession Number.
Hello again! Hope you are doing well. A bug in parsing or an internal change in XBRL at some point is causing a weird issue in pre-2011 calls. Take for example the company AAR CORP who submitted a 10-Q in the first quarter of 2010 and 2011, respectively. I checked to make sure they submitted for each of these quarters and they submitted on 2010-03-19 and 2011-03-22.
AAR CORP's cik is 0000001750
Here we try to collect the elements given in the toy example for XBRLUS. For 2010 it fails, but for 2011 it works.
Now for 2011
What is strange is that if you change the years to 2009 and 2012 you get the same effect. Did something change in how XBRL kept data pre-2011?
Session Info