Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | "Airey, David C" <david.airey@vanderbilt.edu> |
To | "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu> |
Subject | st: reading in data where delimiter is replaced with return character |
Date | Sat, 18 Aug 2012 14:58:17 -0500 |
. When copying tables from the web and pasting, files can lose delimiters (if they had any). So a file that looks like this online with var header included: A B C one 1 2 three 3 4 becomes this when pasted: A B C one 1 2 three 3 4 What Stata command handles this format? The infile command has a byvariable(#) option, but this is for data like: A one three B 1 3 C 2 4 -Dave * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/