[rkward-devel] rkward import module for Stata
Thomas Friedrichsmeier
thomas.friedrichsmeier at ruhr-uni-bochum.de
Wed Sep 23 11:07:28 UTC 2009
Hi Michael,
On Tuesday 22 September 2009, Michael Ash wrote:
> I have used the import_spss template to write an import_stata module.
> I changed the various options and flags from the read.spss() command
> to the read.dta() options. So far it is working for me, although it
> is possible that the code could be cleaned up. I'd be grateful for
> feedback or suggestions and will make changes that are within my
> limited programming capability. If the code is ok, maybe it can be
> included in the next release.
many thanks for your contribution. This will be very useful to have. Looks
good overall, but a few comments:
1) Could you construct a small sample stata file that we can use for testing?
Ideally this would contain a number of variables of different types, with &
without value labels, special missing values, etc. This is both to help us
testing right now, and to create an automated test for your plugin, later
(http://sourceforge.net/apps/mediawiki/rkward/index.php?title=Automated_Plugin_Testing).
2) I believe Stata also has support for variable labels? If so, then it would
be nice to convert those labels to the RKWard format as is done in the
import_spss plugin. (Be sure to include one or two variable labels in the
sample file).
3) The <logic>-section still has references to the "use_label" checkbox from
the import_spss plugin. Those should be cleaned up.
Providing a sample file would really be especially helpful. 2) and 3) would be
welcome additions, but if you get stuck, just let us know.
Regards
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/rkward-devel/attachments/20090923/357ac773/attachment.sig>
More information about the Rkward-devel
mailing list