If you know you're going to want all the details of a filing, including documents funds and filers, look at `filing_details`
filing_documents(x) # S3 method for character filing_documents(x) # S3 method for xml_node filing_documents(x)
x | URL or xml_document for a SEC filing index page |
---|
A dataframe with all the documents in the filing along with their meta info
Information returned:
seq
description
document
href
type
size
# \donttest{ # Typically you'd get the URL from one of the search functions x <- paste0("https://www.sec.gov/Archives/edgar/data/", "712515/000071251517000063/0000712515-17-000063-index.htm") try(filing_documents(x))#>#> Error in check_result(res) : #> EDGAR request blocked from Undeclared Automated Tool. #> Please visit https://www.sec.gov/developer for best practices. #> See https://mwaldstein.github.io/edgarWebR/index.html#ethical-use--fair-access for your responsibilities #> Consider also setting the environment variable 'EDGARWEBR_USER_AGENT# }