Ok. I am trying to download edgar filings which downloads the files from the website (using the edgar package in R).
I run the following code:
install.packages("edgar")
library(edgar)
for (year in c(2004,2005,2006,2007,2008,2009,2010,2010,2011,2012,2013,2014,2015,2016,2017)){
getMasterIndex(year)
}
report <- getFilings(2017, 1720635 , 'ALL')
after running the above code, I have the following error:
Error: Input year(s) is not numeric.