Import XML EpiData files from R
EpiData friends,
One the things that was limiting me to definitely move from 3.1 to new EpiData with new epx and epz format is that I was not able to import epx/epz data form within R. Currently, from a R users list I was awere of this user made function. So now Im will try to let 3.1 go and gradually transform my files to XML based formta. If there is any R use in this list, could any help me test if it works nicely?
https://github.com/daudi/Epidata-XML-to-R
kind regards,
Dr. Pedro Emmanuel A. A. do Brasil Curriculum Lattes: http://lattes.cnpq.br/6597654894290806 Instituto de Pesquisa Clínica Evandro Chagas Fundação Oswaldo Cruz Rio de Janeiro - Brasil Av. Brasil 4365, CEP 21040-360, Tel 55 21 3865-9648 email: pedro.brasil@ipec.fiocruz.br email: emmanuel.brasil@gmail.com
---Apoio aos softwares livres www.zotero.org - gerenciamento de referências bibliográficas. www.broffice.org ou www.libreoffice.org - textos, planilhas ou apresentações. www.epidata.dk - entrada de dados. www.r-project.org - análise de dados. www.ubuntu.com - sistema operacional
This package was written by David Whiting for a test release and needs to be revised to work with the current .epx file structure. I'll have a look at it this week. The package worked very well on test data last year. I don't know if David has looked at it since last year.
Jamie
On 2012-07-30, Pedro wrote:
One the things that was limiting me to definitely move from 3.1 to new EpiData with new epx and epz format is that I was not able to import epx/epz data form within R. Currently, from a R users list I was awere of this user made function. So now Im will try to let 3.1 go and gradually transform my files to XML based formta. If there is any R use in this list, could any help me test if it works nicely?
https://github.com/daudi/Epidata-XML-to-R
kind regards,
Dr. Pedro Emmanuel A. A. do Brasil
Hi Pedro,
I've gone through the code for the previous version of this .epx to R conversion and there is one challenge with the revised .epx format. Some of the changes are simple to accommodate, but the data records no longer present the individual field values as xml objects. This means that the data record must be parsed. It isn't too difficult, but until this R code gets changed, the best option would be to use Manager to export the data to stata and then use the existing R library (foreign) to read the stata file.
Jamie
On 2012-07-30, Pedro wrote:
One the things that was limiting me to definitely move from 3.1 to new EpiData with new epx and epz format is that I was not able to import epx/epz data form within R. Currently, from a R users list I was awere of this user made function. So now Im will try to let 3.1 go and gradually transform my files to XML based formta. If there is any R use in this list, could any help me test if it works nicely?
participants (1)
-
epidata-list@lists.umanitoba.ca