View source: R/read.hs7.shade.R
read.hs7.shade | R Documentation |
Read xlsm effective shade output from Heat Source version 7. Heat Source excel workbook needs to be saved as .xlsm. Workbooks in .xls do not seem to work.
read.hs7.shade(
output_dir,
file_name,
sheet_name = "Chart-Shade",
date_correction = TRUE
)
output_dir |
The path to the directory where the Heat Source .xlsm is located. |
file_name |
The file name of the .xlsm heat source model. The ".xlsm" extension should be included in the file name. |
sheet_name |
The name of the output worksheet to read. Default is "Chart-Shade". |
date_correction |
TRUE or FALSE. If TRUE, subtracts one day to the date to correct a bug in Heat Source 7 where the date in the "Chart-Shade" worksheet was one one day off. Default is TRUE. |
Data is returned in wide format with the model stream km used as the column name for all values. An "X" is added as a prefix to every stream km value to have syntactically valid column names. The datetime is the first column and is formatted in excel numeric date format.
This function is setup to read the "Chart-Shade" worksheet.
data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.