Description Usage Arguments Examples
View source: R/rr_apply_datatype.R
Registers use their own datatypes. This function converts character vectors to the equivalent R datatypes, handling cardinality='n'.
1 | rr_apply_datatype(x, datatype, cardinality = 1, apply_iso_8601 = TRUE)
|
x |
Character vector (a field of a register). |
datatype |
Name of the datatype to apply: currently one of |
cardinality |
Character, one of |
apply_iso_8601 |
Logical, whether to parse ISO8601 strings as datetimes
with |
1 | rr_apply_datatype("2014-04", "datetime")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.