cimis_to_datetime {cimir}R Documentation

To Datetime

Description

Collapse The Date and Hour columns to a single DateTime Column.

Usage

cimis_to_datetime(d)

Arguments

d

A data frame of CIMIS data results.

Details

According to the CIMIS Report FAQs, all CIMIS data is based on Pacific Standard Time (PST).

Value

The data frame, with a new "Datetime" column replacing the "Date" and "Hour" columns.

Examples

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)
}

[Package cimir version 0.4-1 Index]