cran / edgar

:exclamation: This is a read-only mirror of the CRAN R package repository. edgar — Tool for the U.S. SEC EDGAR Retrieval and Parsing of Corporate Filings
10 stars 11 forks source link

getMgmtDisc error #5

Open chunhujeon opened 4 years ago

chunhujeon commented 4 years ago

I encountered an issue using getMgmtDisc. Specifically, when there is missing 10-K in the year, it returns Error in XML::free(doc) : object 'doc' not found and terminates its function without moving to the next document.

I guess there is an issue in line 177 but I am not sure whether it is. rm(f.text); XML::free(doc)

aalvaradob commented 4 years ago

It happened to me too, the filling is downloaded in the directory of the project, no problem with that, however the error happens with filings starting in 2019 and the only difference with previous years is that the format changed to the new iXBRL format.