I am trying to get company filings from the SEC's EDGAR.
I'm running the following code:
library("edgar")
useragent = "My Name MyEmail@gmail.com"
companyFilings <- getFilings(cik.no = c(320193), c('10-K','10-Q'), 2017, quarter = c(1, 2, 3), downl.permit = "n", useragent)
In the console I'm getting:
Downloading Master Indexes from SEC server for 2017 ... Master Index for quarter 1 Master Index for quarter 2 Master Index for quarter 3 Master Index for quarter 4 Searching master indexes for filing information ... No filing information found for given CIK(s) and Form Type in the mentioned year(s)/quarter(s).
In File a Master Indexes folder was downloaded which contains:
- 2017master.Rda
- 2017QTR1master.gz
- 2017QTR2master.gz
- 2017QTR3master.gz
- 2017QTR4master.gz
each gz file contains html with:
<h1>Your Request Originates from an Undeclared Automated Tool</h1>
<p>To allow for equitable access to all users, SEC reserves the right to limit requests originating from undeclared automated tools. Your request has been identified as part of a network of automated tools outside of the acceptable policy and will be managed until action is taken to declare your traffic.</p>
<p>Please declare your traffic by updating your user agent to include company specific information.</p>
I'm pretty sure my useragent format is correct, and I'm not making frequent requests, but I'm still getting stuck. Any idea what I'm doing wrong?