Description Usage Arguments Details Value See Also Examples
Import, clean and tidy data from a Excel file
1 2 | xls_import(file.xls, verbose = TRUE, na.strings = "NULL",
kjm2.wm2 = (1000/10^6)/0.0864 * 24)
|
file.xls |
Import data from a Excel file |
verbose |
a logical indicating if some “progress report” should be given. |
na.strings |
Character vector of strings to interpret as missing values. By default, readxl treats blank cells as missing data. Default: 'NULL'. |
kjm2.wm2 |
unit conversion for solar incoming radiation, Default: (1000/10^6)/0.0864 * 24. Set equal to NULL to not apply unit conversion to W m^-2^. |
This function import and tidy data from a Excel data file.
data frame with tidy data
xls_read
, data_clean
, data_tidy
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
if(interactive()){
xfiles_l <- list.files(
"vignettes/dvd_xls_files",
recursive = TRUE,
full.names = TRUE
)
xls_file <- sample(xfiles_l, 1)
aws_data <- xls_import(file.xls = xls_file)
str(aws_data)
attr(aws_data, "meta")
}
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.