sewardlee337 / finreportr

R package - Financial Data from U.S. Securities and Exchange Commission
Other
130 stars 47 forks source link

Error in ExtractInfo(".companyName") %>% strsplit(" CIK") : could not find function "%>%" #14

Closed joeymizrahi closed 6 years ago

joeymizrahi commented 6 years ago

I keep getting this error when running: CompanyInfo("GOOG")

sewardlee337 commented 6 years ago

Hello,

Could you check to see if you have the package dplyr and/or magrittr installed?

joeymizrahi commented 6 years ago

yes, they are both installed

sewardlee337 commented 6 years ago

Was dplyr loaded properly?

The error message indicates that the pipe operator was not recognized, so please confirm that the necessary packages that are needed to use the pipe operator are installed and loaded.

joeymizrahi commented 6 years ago

Thanks, I had to load the dplyr,stats,base libraries before loading the finreportr library

joeymizrahi commented 6 years ago

Another 2 questions:

  1. I see that all searches are being done by Company Ticker. What is I wanted to do it by its CIK
  2. There are years missing, is this because SEC only provides xml from a certain year?
  3. This is only for 10-K filings, do you happen to have for 10-Q as well? Thanks!
sewardlee337 commented 6 years ago

To answer your questions: