Hello List, I need import data from Epidata version 3.1 to R data frame. My problem is that I need to import the level labels of from categorical variables to factors. Epidata has two files, .red and .chk. I read on a post that the best choice was to export them to .dta in epidat, and them to read the data from R. I've used the functions stata.get from the library Hmisc, read_statafrom library haven and read.dta from library foreign. Two of this functions allow me to import the labels of the dataframe variables, not the level labels of the factors I would like to get. How can I do it? Thanks for your help. Best regards,
Maicel Monzon ,MD National Center of Clinical Trials Havana, Cuba -- Este mensaje le ha llegado mediante el servicio de correo electronico que ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema Nacional de Salud. La persona que envia este correo asume el compromiso de usar el servicio a tales fines y cumplir con las regulaciones establecidas Infomed: http://www.sld.cu/ ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.