[R] How to import SAS file defining codes by SAS format catalog file

Kei_Takeuchi ktake at jari.or.jp
Fri Mar 21 08:57:18 CET 2014


Dear Sir/Madam,

Hello, this is Kei Takeuchi in Japan Automobile Research Institute.

I am using R to import SAS file in NHTSA. This is happening since SAS is 
too expensive software.

I successfully imoported SAS file which is *****.sas7bdat by R.

Now I want to define codes in SAS file like 1 to Alabama. Now all the 
data in SAS file is codes(for example 1,2,3...) which is hard to see. I 
use code book(published in UMTRI) to see what the codes mean)

Defining code to text is possible in SAS where file called formats.
sas7bcat.


Is it possible by R?



Thank you.

Sincerely yours,
Kei Takeuchi


 _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/

Kei Takeuchi

Crash Safety
Safety Research Division

Japan Automobile Research Institute (JARI)

Address: 2530 Karima, Tsukuba, Ibaraki 305-0822, Japan
TEL: +81-29-856-0885
FAX: +81-29-856-1121
E-mail: ktake at jari.or.jp
HP: http://www.jari.or.jp



More information about the R-help mailing list