parse_iso8601_helpers | R Documentation |
An "iso8601 matrix" is a matrix of the various capture groups extraced from a an iso8601 datetime string. These groups represent a superset of the fields used by partial time objects, including representation for less common datetime formats like yeardays, yearweeks or weekdays. Because the standard provides a number of different combinations of fields that represent valid strings, these functions serves to provide convenience functions for testing or manipulating these less canonical representations.
is_iso8601_form(x, fields)
is_iso8601_weekday(x)
is_iso8601_yearday(x)
is_iso8601_minfrac(x)
recalc_md_from_weekday(x)
recalc_md_from_yearday(x)
recalc_sec_from_minfrac(x)
x |
A |
fields |
A |
Test whether rows of the matrix represent a specific form, as evident by non-missing values in specific fields.
Calculate canonical datetime fields from alternative representations
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.