Learn R Programming

icd9 (version 1.3.1)

sasDropOtherAssignment: drop superfluous assignment name when the name is already defined.

Description

this is happening in the DRG definitions for AHRQ comorbidities. We have data like: "HTNDRG" 079,305 = "YES" I would like this to be list(HTNDRG="079,305")

Usage

sasDropOtherAssignment(x)

Arguments

x
in this case is '079,305 = "YES"' (quotes may be present in the string itself)