On Mar 21, 2014, at 12:57 AM, Kei_Takeuchi wrote: > 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?
You might want to look at the functions in pkg: SAScii Author: Anthony Joseph Damico [aut, cre] URL: https://github.com/ajdamico/SAScii > > > > 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: kt...@jari.or.jp > HP: http://www.jari.or.jp > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. David Winsemius Alameda, CA, USA ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.