.parse_string_to_named_vector {basecamb} | R Documentation |
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"
.parse_string_to_named_vector(str)
str |
character with standardized pattern to be parsed |
named vector
J. Peter Marquardt