.parse_string_to_named_vector {basecamb} | R Documentation |
Parse a string to create a named list
Description
Create a named list from a standardised string of the following format:
key-value pairs are separated from other key-value-pairs by a comma (",")
key and value of the same pair are separated by an equal sign ("=")
quotations around individual keys and values are recommended for clarity, but do not affect functionality.
all values will be coerced to type character, with the exception of "NA", "TRUE" and "FALSE"
Usage
.parse_string_to_named_vector(str)
Arguments
str |
character with standardized pattern to be parsed |
Value
named vector
Author(s)
J. Peter Marquardt
[Package basecamb version 1.1.5 Index]