View source: R/unzip_read_delim.R
unzip_read_delim | R Documentation |
Extract a .zip archive and read it in with readr's read_delim function. The file is extracted to a temporary location, and then deleted after reading it.
unzip_read_delim(zip_path, filename = NULL, ...)
zip_path |
The file path of the .zip archive |
filename |
OPTIONAL: The file name of the file in the .zip archive to be read. This parameter can be left empty if there is only 1 file in the archive. |
... |
arguments to the readr::read_delim function. see: read_delim |
Dataframe
unzip_read_delim(readr::readr_example("mtcars.csv.zip"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.