Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to create statements from XBRL documents #5

Open
chainhead opened this issue Apr 9, 2017 · 0 comments
Open

Unable to create statements from XBRL documents #5

chainhead opened this issue Apr 9, 2017 · 0 comments

Comments

@chainhead
Copy link

chainhead commented Apr 9, 2017

Many thanks for publishing the finstr package!

While I was able to get this package working for XBRL documents filed with SEC, I am running into a strange error when working with XBRL documents filed with Ministry of Corporate Affairs (MCA) (India). Specifically, the xbrl_get_statments() function call fails.


# Get annual report XBRL and extract statements
options(stringsAsFactors = FALSE)
org2015Inst <- INST #the XML file from MCA website
org2015 <- xbrlDoAll(org2015Inst,cache.dir = "XBRLCache", prefix.out="out", verbose = TRUE)
org2015Stmts <- xbrl_get_statements(org2015)

And, this is the error I get.

> org2015Stmts <- xbrl_get_statements(org2015)
Error: incorrect length (0), expecting: 965
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant