#' q_ticker_search
#'
#' @export
q_ticker_search <- function(ticker, limit = 10){
q_ticker_search <- function(ticker, limit = 10){
url <- paste0("https://financialmodelingprep.com/api/v3/search?query=",stringr::str_to_upper(ticker),"&limit=",limit)
fmp_data(url)
}
safe_q_ticker_search <- purrr::safely(q_ticker_search)
purrr::map_dfr(ticker,~{
safe_q_ticker_search(ticker, limit = 10)$result
})
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.