View source: R/read_multsheets.R
read_multsheets | R Documentation |
Read in multiple files and or multiple sheets and handle headers
that span multiple rows (using read_header()
)
This function must be provided a data.frame with file information.
The data.frame can be initalized with the function list_sheetnames()
read_multsheets(
data_folder,
df,
na = c("NA"),
col_names,
guess_max = 1000,
complete_cases = TRUE
)
read.multsheets(
data_folder,
df,
na = c("NA"),
col_names,
guess_max = 1000,
complete_cases = TRUE
)
data_folder |
A string denoting the folder that contains the files to be read in |
df |
A data.frame with the column "filename", which can be
inialized by the function
|
na |
Character vector of strings to interpret as missing values. By default, readxl treats blank cells as missing data. |
col_names |
|
guess_max |
Maximum number of data rows to use for guessing column types. |
complete_cases |
A logical. The default TRUE will remove empty rows |
Other readin functions:
list_sheetnames()
,
read_excelsheet()
,
read_header()
,
read_ods_multsheets()
,
read_sheets()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.