sasExtractLetStrings: extract quoted or unquoted SAS string definitions

Description Usage Arguments

View source: R/sas.R

Description

Finds all the LET statements in some SAS code and writes them to an R list. The list item name is the SAS variable name, and each list item is a character vector of the contents. This is specifically for string assignements, but probably easy to adapter to numbers if ever needed.

Usage

1

Arguments

x

is a vector of character strings, typically taken from something like readLines(someSasFilePath)


jackwasey/icd9 documentation built on May 18, 2019, 7:57 a.m.