View source: R/dtc_parse_dttm.R
parse_dttm_ | R Documentation |
parse_dttm()
extracts date and time components. parse_dttm()
wraps around
parse_dttm_()
, which is not vectorized over fmt
.
parse_dttm_(
dttm,
fmt,
fmt_c = fmt_cmp(),
na = NULL,
sec_na = na,
min_na = na,
hour_na = na,
mday_na = na,
mon_na = na,
year_na = na
)
parse_dttm(
dttm,
fmt,
fmt_c = fmt_cmp(),
na = NULL,
sec_na = na,
min_na = na,
hour_na = na,
mday_na = na,
mon_na = na,
year_na = na
)
dttm |
A character vector of dates, times or date-times. |
fmt |
In the case of
|
na , sec_na , min_na , hour_na , mday_na , mon_na , year_na |
A character vector of alternative values to allow during matching. This can be used to indicate different forms of missing values to be found during the parsing date-time strings. |
A character matrix of six columns: "year"
, "mon"
, "mday"
,
"hour"
, "min"
and "sec"
. Each row corresponds to an element in
dttm
. Each element of the matrix is the parsed date/time component.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.