.onLoad <- function(libname, pkgname){
finnhub_base_url <- 'https://finnhub.io/api/v1/'
assign('finnhub_base_url', finnhub_base_url,
envir = parent.env(environment()))
finnhub_sleep <- 0.3
assign('finnhub_sleep', finnhub_sleep,
envir = parent.env(environment()))
finnhub_timezone <- 'America/New_York'
assign('finnhub_timezone', finnhub_timezone,
envir = parent.env(environment()))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.