#' @importFrom httr GET write_disk
#' @importFrom utils unzip
#' @export
get_zip <-
function(u, p, d) {
GET(
url = u,
path = p,
write_disk(d, overwrite = TRUE)
)
unzip(d, overwrite = TRUE, junkpaths = TRUE)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.