Learn R Programming

COVID19 (version 2.0.3)

read.zip: Data Input (zip)

Description

Reads files from a zip folder.

Usage

read.zip(zip, files, cache = FALSE, ...)

Arguments

zip

path (url) to the zip folder.

files

vector of filenames to read inside the zip folder.

cache

logical. Memory caching? Default FALSE.

...

arguments passed to read.csv or read.excel.

Value

list of data.frames

Examples

Run this code
# NOT RUN {
url <- "https://info.gesundheitsministerium.at/data/data.zip"

x   <- read.zip(url, cache = TRUE, sep = ";", files = c(
"confirmed" = "Epikurve.csv",
"deaths"    = "TodesfaelleTimeline.csv",
"recovered" = "GenesenTimeline.csv"))

# }
# NOT RUN {
# }

Run the code above in your browser using DataLab