parseRtfLines: parse a character vector containing RTF strings

Description Usage Arguments Value

View source: R/parse-rtf.R

Description

parse a character vector containing RTF strings

Usage

1

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.


icd9 documentation built on May 30, 2017, 2:25 a.m.