parse_vector {minty} | R Documentation |
Parse a character vector.
Description
Parse a character vector.
Usage
parse_vector(
x,
collector,
na = c("", "NA"),
locale = default_locale(),
trim_ws = TRUE,
.return_problems = FALSE
)
Arguments
x |
Character vector of elements to parse. |
collector |
Column specification. |
.return_problems |
Whether to hide the |
Value
a parsed vector
See Also
Other parsers:
col_skip()
,
parse_datetime()
,
parse_factor()
,
parse_guess()
,
parse_logical()
,
parse_number()
Examples
x <- c("1", "2", "3", "NA")
parse_vector(x, col_integer())
parse_vector(x, col_double())
[Package minty version 0.0.1 Index]