Read xls and xlsx files.

read.excel(path, cache = FALSE, sheet = NA, ...)

Arguments

path

Path to the xls/xlsx file.

cache

logical. Memory caching? Default FALSE.

sheet

Sheet to read. Either a string (the name of a sheet), or an integer (the position of the sheet). Ignored if the sheet is specified via range. If neither argument specifies the sheet, defaults to all sheets.

...

arguments passed to read_excel

Value

list of data.frame

Examples

if (FALSE) {

url <- "https://epistat.sciensano.be/Data/COVID19BE.xlsx"
x   <- read.excel(url, cache = TRUE)  

}