Four ways to get data 
///////////////////////////////
 Method #1: download data from Yahoo!fiannce 
            manually 

 Method #2: download data from my website
            [limited to 20 companies]

 Method #3: using an R called quandmod
            [need a fix ]

 Method #4: using .getYahooDaily() i.e., using    
            quandmod indirectly 

/////////////////////////////////

.data2Excel
////////////////////////////

.data2excel<-function(keyword_or_ID){
"Objective      : keyword or ID
   keyword_or_ID: such as 'c1_', 'c5_', 12, 44
                  Note: assume that the 'clipr' package is installed. 
                  install.packages('clipr')
          
 Example 1>.data2excel('c1_') # all images for chapter 1
              ID            NAME
            1  6 c1_place_holder
            2 28 data_c1_c16    
 
 Example 2>.d1('c1_')   # the same as the above 

 Example 3>.d1('c3_')   # for chapter 3
 
 Example 4>.d1('gdp)    # search by a keyword
              ID            NAME
            1 17 c4_GDPquarterly

 Example 5>.d1(17)      # get the data to Excel 
         For both Windows and Mac users:
             Launch Excel and paste! 

";.zdata2excel_(keyword_or_ID)}

////////////////////////////

fix issues with the R quantmod
///////////////////////////////
  install.packages('devtools')

  library(devtools)

  devtools::install_github('joshuaulrich/quantmod')

  install.packages('quantmod') 

  library(quantmod)

/////////////////////////////////

our .getBSannual() function 
///////////////////////////////
Step #1:upload two R packages
        library(tidyverse)
        library(rvest)
   
        Note: if they were not preinstalled, issue the following
              commands to install them. 
        install.packages("tidyverse")
        install.packages("rvest")

Step #2: Example of using .getBSannual()
          > x<-.getBSannual("ibm")
              BS for  IBM  was successfully downloaded 
          > head(x)
                 Period Ending 12/31/2018 12/31/2017 12/31/2016 12/31/2015
        1            Current Assets          -          -          -          -
        2 Cash And Cash Equivalents 11,379,000 11,972,000  7,826,000  7,686,000
        3    Short Term Investments    618,000    608,000    701,000    508,000
        4           Net Receivables  8,596,000 10,380,000 10,239,000  9,534,000
        5                 Inventory  1,682,000  1,583,000  1,553,000  1,551,000
        6      Other Current Assets  2,902,000  2,266,000    532,000    293,000
         > dim(x)
           [1] 37  5
/////////////////////////////////