problems with import/export to stata

Hi Hope to get some help with a few problems. I'm a new epidata user and have downloaded manager v1.1.2 and entry v 1.1.1.1 - seemed to be the newest reliable version. Please correct me if wrong. I need to import some basic data from stata, add new variables in epidata, enter data and export it back to stata. So far importing data works fine, it's ok adding new variables and clicking "tools" - "export to stata" and "ok" works too. But back in stata the storage format has been change in some of my original data (eg string %10s - changed to %207s), and as well in some of the newly defined. Also missing data is in some cases "." in other ".z". I'm using stata 11 or 12 and have tried correcting the settings in "edit" - "settings" - "export" and "field definitions". It's not too deficult making it to a correct format while in stata - it's just a bit annoying. But whats worse - I tired importing it back to epidata again - making a few changes and then exporting to stata once more and then some of the storage types had completely changed - eg integer to float. Any suggestions?
I downloaded epidata 3.1 as well but it does not seem to be compatible with importing stata newer than version 8.
Any suggestions would be much appreciated!
Anne

Hi Anne.
What you are experiencing is a general problem when importing/exporting data between programs. Because EpiData and Stata store data in different ways it is not always possible to make 1:1 conversion of datatypes.
The version of Manager you are using is the newest stable version, however we have a pre-release version available from our website which has an updated version of the export functionality. It handles Stata import/export better but as stated above, because data is stored different in the two programs we can not achieve a 1:1 conversion.
Kind regards, Torsten Bonde Christiansen EpiData Association.
On 2012-11-08 11:11, epidata-list@lists.umanitoba.ca wrote:
Hi Hope to get some help with a few problems. I'm a new epidata user and have downloaded manager v1.1.2 and entry v 1.1.1.1 - seemed to be the newest reliable version. Please correct me if wrong. I need to import some basic data from stata, add new variables in epidata, enter data and export it back to stata. So far importing data works fine, it's ok adding new variables and clicking "tools" - "export to stata" and "ok" works too. But back in stata the storage format has been change in some of my original data (eg string %10s - changed to %207s), and as well in some of the newly defined. Also missing data is in some cases "." in other ".z". I'm using stata 11 or 12 and have tried correcting the settings in "edit" - "settings" - "export" and "field definitions". It's not too deficult making it to a correct format while in stata - it's just a bit annoying. But whats worse - I tired importing it back to epidata again - making a few changes and then exporting to stata once more and then some of the storage types had completely changed - eg integer to float. Any suggestions?
I downloaded epidata 3.1 as well but it does not seem to be compatible with importing stata newer than version 8.
Any suggestions would be much appreciated!
Anne
_______________________________________________
EpiData-list mailing list EpiData-list@lists.umanitoba.ca http://lists.umanitoba.ca/mailman/listinfo/epidata-list
participants (1)
-
epidata-list@lists.umanitoba.ca