Other code: read zipped url

fread.zip.url(url, filename = NULL, FUN = fread, ...)

Arguments

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)

Value

data.table of the remote file

Note

This code is directly copied from https://stackoverflow.com/a/24586478

Examples

# NOT RUN { dt <- fread.zip.url(http://data.bls.gov/cew/data/files/2000/csv/2000_qtrly_singlefile.zip) # }