fread.zip.url | R Documentation |
Other code: read zipped url
fread.zip.url(url, filename = NULL, FUN = fread, ...)
url |
see vignette for a list of the cut |
filename |
for multiple files in the archive |
FUN |
default to fread from data.table but you could use anything |
... |
arguments passed to the function call (typically fread) |
data.table of the remote file
This code is directly copied from https://stackoverflow.com/a/24586478
## Not run:
dt <- fread.zip.url(https://data.bls.gov/cew/data/files/2000/csv/2000_qtrly_singlefile.zip)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.