R/get_list.R

Defines functions get_list

Documented in get_list

get_list <- function(data) {
  tryCatch({
    list.df <- formattable(data, align = 'c',
                           caption = "<center>List of securities that show the
                      largest <b>positive</b> and <b>negative</b> price
                      variations during the day in the Bolivian Securities
                        Exchange.</center>")

    return(list.df)
  }, error = function(e) {
    message('Apologies. The get_list function does not accept NULL values.')
  })
}

Try the bolsec package in your browser

Any scripts or data that you put into this service are public.

bolsec documentation built on May 29, 2024, 11:26 a.m.