parseRtfLines: parse a character vector containing RTF strings
Description
parse a character vector containing RTF strings
Usage
parseRtfLines(lines, verbose = FALSE)
Arguments
lines
character vector containing RTF. Encoding?
verbose
single logical value, defaults to FALSE in most functions.
Value
named character vector, with names being the ICD-9 codes, and the
contents being the descriptions from the RTF source. Elsewhere I do this
the other way around, but the tests are now wired for this layout. "Tidy"
data would favour having an un-named two-column data frame.