Skip to content
Prev 334644 / 398506 Next

creating list of variables description

On Dec 19, 2013, at 10:20 AM, C Lin wrote:

            
Do an RSiteSearch on "codebook" (Or use:

sos::findFn("codebook")

...  and look at the Hmisc package that does record variable descriptions from external datasets with some of its methods that import from SAS or SPSS files when they contain such information. 

help(package="Hmisc")

# especially
sas.codes	Convert a SAS Dataset to an S Data Frame
sas.get	Convert a SAS Dataset to an S Data Frame
sasdsLabels	Enhanced Importing of SAS Transport Files using read.xport
sasxport.get	Enhanced Importing of SAS Transport Files using read.xport

spss.get	Enhanced Importing of SPSS Files
And do learn to post in plain text:


David Winsemius
Alameda, CA, USA