read_zip_url: read file from zip at URL

Description Usage Arguments Functions

View source: R/read_zip_url.r

Description

downloads zip file, and opens named file filename, or the single file in zip if filename is not specified. FUN is a function, with additional arguments to FUN given by .... @details TODO: update from icd package

Usage

1
2
3
read_zip_url(url, filename = NULL, FUN = readLines, ...)

read.zip.url(url, filename = NULL, FUN = readLines, ...)

Arguments

url

character vector of length one containing URL of zip file.

filename

character vector of length one containing name of file to extract from zip. If not specified, and the zip contains a single file, then this single file will be used.

FUN

function used to process the file in the zip, defaults to readLines. The first argument to FUN will be the path of the extracted filename

...

further arguments to FUN

Functions


jwutil documentation built on May 7, 2019, 1:03 a.m.