Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: individual column/dataset properties


From   "Svend Juul" <[email protected]>
To   <[email protected]>
Subject   Re: st: individual column/dataset properties
Date   Mon, 19 Dec 2005 14:16:04 +0100

Rafal wrote:
is there a way to impose certain restrictions on individual columns in a
Stata dataset? e.g., numeric values must be in the range [0,30] and
integers or, for a SSN column, character values must be of the format
XXX-XX-XXXX and, at the same time, must be of length 11. if they are
not, the user will be warned and the change/input rejected.
---------------------------------------------------------

Following up on Nick Cox' remarks:
It sounds as if you are talking about a program for entering data.
EpiData can do most of what you want, I think; it can be downloaded for
free from http://www.epidata.dk. Epidata lets you export data as a Stata
dataset.

Hope this helps
Svend

__________________________________________

Svend Juul
Institut for Folkesundhed, Afdeling for Epidemiologi
(Institute of Public Health, Department of Epidemiology)
Vennelyst Boulevard 6
DK-8000  Aarhus C, Denmark
Phone: +45 8942 6090
Home:  +45 8693 7796
Email: [email protected]
__________________________________________

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index