View source: R/read_then_csv.R
read_then_csv | R Documentation |
Read in all the sheets from an excel file at once and simultaneously cache to CSV
read_then_csv(sheet, path)
read_then_csv2(path)
sheet |
String; Name of an excel sheet |
path |
String; filepath to the the excel file |
NULL
. CSV files are written to current working directory.
## Not run:
library(dplyr)
library(readxl)
library(rlang)
library(purrr)
path <- readxl::readxl_example("datasets.xlsx")
path %>%
readxl::excel_sheets() %>%
rlang::set_names() %>%
purrr::map(read_then_csv, path = path)
read_then_csv2(path)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.