Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. install.packages("edgar")
  2. install.packages("edgarWebR")
  3. library(edgar)
  4. library(edgarWebR)
  5.  
  6. #retrieve BusinDesc (Item 1)
  7. filings.BusinDes.2018<-getBusinDescr(cik.no=CIK,filing.year=2018)
  8.  
  9. #where CIK is a vector of CIK codes (as integers) for all 74 companies
  10. #for replicability here are some CIK codes:
  11. CIK.codes<-c(918160,1164727,831259,73309,1022671)
  12.  
  13. #results/output in console
  14. Downloading fillings. Please wait... 100%
  15. Extracting 'Item 1' section... 0%
  16. Error in writeLines(product.descr2, filename2) :
  17. object 'product.descr2' not found
  18.  
  19. Error in writeLines(product.descr2, filename2) :
  20. object 'product.descr2' not found
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement