[R] Anyone have any code for importing data from NAMCS?

Dieter Menne dieter.menne at menne-biomed.de
Wed Sep 14 09:23:24 CEST 2005

David L. Van Brunt, Ph.D. <dlvanbrunt <at> gmail.com> writes:

> The National Ambulatory and Medical Care Survey is a free data set from the 
> CDC that I'd like to analyze using the "Survey" package in R. Before I dive 
> in, though, it occurred to me that someone may already have gone to the 
> trouble of writing code that will bring in the data and assign the variable 
> names and value labels.

At least the 2002 and 2003 files are available as SPSS macros (not as SPSS 
file, as far I know). So if you know someone with SPSS, ask her to run the 
macros, and read in the data with R and package foreign.

Dieter Menne

More information about the R-help mailing list