SHARE
TWEET

Untitled

a guest Jun 18th, 2019 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top