Export daily period of record summaries for precip and air temp
Usage
exportNCCNDailyPeriodOfRecord(
park_code = c("MORA", "NOCA", "OLYM", "SAJH"),
file_out = paste(park_code, "daily_periodofrecord.xlsx", sep = "_"),
overwrite = FALSE
)
Arguments
- park_code
Four-letter park code(s)
- file_out
Path (including filename) of the .xlsx spreadsheet you want to create. Defaults to a file named with the park code and water year in the current working directory.
- overwrite
If file_out
already exists, do you want to overwrite it? Defaults to FALSE
.
Value
Writes data to file_out
and returns a list containing the data that was written.
Examples
if (FALSE) { # \dontrun{
exportNCCNDailyPeriodOfRecord("OLYM", 2022, "exports/OLYM_Daily_2022.xlsx")
} # }