: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
I came across your EDGAR package and found this an amazing package with a great retrieval power.
However, I got stuck somewhere as I need to download the files to see the contents.
Pls see the codes below for extracting 2017 data, after installing the EDGAR package :
getMasterIndex(2017)
Successfully downloaded Master Index for year: 2017 and quarter: 1
Successfully downloaded Master Index for year: 2017 and quarter: 2
Successfully downloaded Master Index for year: 2017 and quarter: 3
Successfully downloaded Master Index for year: 2017 and quarter: 4
Filename status
1 2017: quarter-1 Download success
2 2017: quarter-2 Download success
3 2017: quarter-3 Download success
4 2017: quarter-4 Download success
Now I want to see an example of data retrieval for a company called United Continental (CIK: 0000100517) with:
UAL_report <- getFilings(2017, 0000100517, 'ALL')
It then asks me if I want to download data: "Total number of filings to be downloaded=127. Do you want to download (yes/no)?"
Which I selected Yes, and it shows me "Links" with "Download Success" info
Now I exported all of the filings to txt format with:
Hello team,
I came across your EDGAR package and found this an amazing package with a great retrieval power.
However, I got stuck somewhere as I need to download the files to see the contents.
Pls see the codes below for extracting 2017 data, after installing the EDGAR package :
getMasterIndex(2017)
Successfully downloaded Master Index for year: 2017 and quarter: 1 Successfully downloaded Master Index for year: 2017 and quarter: 2 Successfully downloaded Master Index for year: 2017 and quarter: 3 Successfully downloaded Master Index for year: 2017 and quarter: 4 Filename status 1 2017: quarter-1 Download success 2 2017: quarter-2 Download success 3 2017: quarter-3 Download success 4 2017: quarter-4 Download successNow I want to see an example of data retrieval for a company called United Continental (CIK: 0000100517) with:
UAL_report <- getFilings(2017, 0000100517, 'ALL')
It then asks me if I want to download data: "Total number of filings to be downloaded=127. Do you want to download (yes/no)?"
Which I selected Yes, and it shows me "Links" with "Download Success" info
Now I exported all of the filings to txt format with:
write.table(UAL_report, file="mydata.txt", sep=",")
This was saved in the workspace directory in txt format.
So, my question to you is how can I see the contents/data within each of the files? How can I see its annual/quarterly (10K/10Q) reports? like the below quarterly result: https://www.sec.gov/Archives/edgar/data/100517/000119312517313831/d437791d10q.htm
I would be grateful if you can pls provide your insight for the same. Kind regards, Satya