using python to automate data translation process from eprime to SPSS
Kyle
kylehdavis at gmail.com
Sun Aug 19 03:27:23 UTC 2012
Thank you for your reply Peter but that is not exactly what I was looking
for and I probably did not clarify enough. I know how to use EdataAid, I
just want a way to circumvent it. If you look in the folder where your
edat files are stored there is also a .txt file with the data information.
I was wondering if I could somehow translate this file into something
useable and skip edataid all together. I am trying to automate the process
so I can do it with a large amount of data all at once and ensure that it
is all done the same way without having to worry about human error (like
when someone accidentally forgets to uncheck the unicode box or clicks on
the wrong thing). It looks like the txt file contains the data from the
experiment but it looks all jumbled up and in one column. Someone on the
python forums said that they had created script that would parse out the
data from that text file and make it usable. Unfortunately they did not
really elaborate how to do that. Thank you again for your reply Peter and
I hope I helped clear things up a bit.
-Kyle
On Saturday, August 18, 2012 7:33:05 PM UTC-4, Kyle wrote:
>
> Hello,
> I am currently struggling with trying to automate my data translation
> process from eprime to SPSS. I am not using emerge because I need to
> create individual spss data files for each of my subjects. I have written
> sytax that automates the translation from the edat output (tab-separated)
> to an SPSS data file but I need to figure out a way to circumvent e-dataAid
> so I can automate the whole process and reduce the chance of any errors
> during the process. I was planning on using python so that I could have
> the user select the files that they want to convert to SPSS and then it
> does it automatically. From what I gathered from python help forums is
> that I need to parse the raw data txt document into a tab-separated file.
> Is there a way to do this or documentation how to do this somewhere? The
> workflow would be something like: raw data txt file --> tab separated -->
> spss syntax (it reads from a list file I created in spss) --> spss data
> file. I think the main spot I am stuck at is parsing the data from the raw
> file so I can circumvent edataAid. From there it seems like it might be
> somewhat straightforward. Thank you in advance for any help you can
> provide. If you have any tips for the python part of this process that
> would be appreciated as well, but I know the group is for e-prime and do
> not expect help with that.
> Thank you,
> -Kyle
>
>
>
--
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To post to this group, send email to e-prime at googlegroups.com.
To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/9esR65DcXSkJ.
For more options, visit https://groups.google.com/groups/opt_out.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/eprime/attachments/20120818/74eb7685/attachment.htm>
More information about the Eprime
mailing list