.onLoad <- function(libname,pkgname){
#options(iex_api = "https://cloud.iexapis.com/stable")
}
.onAttach <- function(libname,pkgname){
packageStartupMessage("iexcloudr: Set api keys with iexcloudr::apikey()")
}
.onDetach <- function(libpath){
options(iex_api_key="")
options(iex_secret_api_key="")
options(iex_api = "")
}
.onUnload <- function(libpath){
options(iex_api_key="")
options(iex_secret_api_key="")
options(iex_api = "")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.