Description Usage Arguments Details References See Also
Parse field
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | parse_field(x, meta = NULL)
parse_string(x)
parse_number(x, decimalChar = ".", groupChar = NULL, bareNumber = TRUE,
unit = NULL)
parse_integer(x, bareNumber = TRUE, unit = NULL)
parse_boolean(x, trueValues = c("true", "True", "TRUE", "1"),
falseValues = c("false", "False", "FALSE", "0"))
parse_date(x, format = "%Y-%m-%d")
parse_datetime(x, format = "%Y-%m-%dT%H:%M:%SZ")
|
x |
(atomic) Object to parse. |
meta |
(named list) Field metadata. |
decimalChar |
(character) Symbol used to indicate the decimal place. |
groupChar |
(character) Symbol used to chunk larger numbers. |
bareNumber |
(boolean) Whether |
unit |
(character) Unit of measure in product power form (see |
trueValues |
(character) Values indicating |
falseValues |
(character) Values indicating |
format |
(character) Format specification (see |
TODO:
string: Support format property
number: Support currency property
Validate field against constraints
http://specs.frictionlessdata.io/table-schema/#field-descriptors
Other field parsers: parse_fields
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.