Collapse The Date and Hour columns to a single DateTime Column.
cimis_to_datetime(d)
The data frame, with a new "Datetime"
column replacing
the "Date"
and "Hour"
columns.
According to the CIMIS Report FAQs, all CIMIS data is based on Pacific Standard Time (PST).
if(is_key_set()) {
d = cimis_data(targets = 170, start.date = Sys.Date() - 4,
end.date = Sys.Date() - 1, items = "hly-air-tmp")
cimis_to_datetime(d)
}