raw_from_url | R Documentation |
This function allows you to retrieve data from a URL into raw format, which can then be passed into the appropriate file-reading function. Data is memoised/cached for 24 hours.
raw_from_url(url)
url |
a character url |
a raw vector
try({ # prevents CRAN errors
head(raw_from_url(
"https://github.com/nflverse/nflverse-data/releases/download/test/combines.rds"
),
50)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.