##' @importFrom curl curl_download
get_hcd_from_url <- function(URL, ...) {
tmp <- tempfile()
f <- curl_download(URL, destfile = tmp)
res <- capture_warnings(read_hcd(f, ...))
df <- res$value
attr(df, "warnings") <- res$warnings
df
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.