#' @export
read_pilr_file <- function(filepath, access_code) {
epd <- GET(filepath,
httr::add_headers(authorization = paste("bearer", access_code)))
env <- new.env()
nm <- load(rawConnection(httr::content(epd)), env)[1]
env[[nm]]
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.