Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: read dbf files directly into Stata?
From
"Brownell, Peter" <[email protected]>
To
<[email protected]>
Subject
st: read dbf files directly into Stata?
Date
Mon, 17 May 2010 17:35:18 -0700
Hi,
I am wondering if there is a command available to read .dbf files
directly into Stata with jumping through the hoops of -odbc-?
I see that -shp2dta- converts .dbf files together with shape files into
Stata .dta files, but I haven't found any syntax to make it work with
only a .dbf file.
I was opening them with MS Excel and saving them as .csv files and then
using -insheet-, but I then realized that I was losing observations in
some of the larger files because Excel couldn't handle that many
observations.
Worst case, I can load the files on a machine with StatTransfer, but it
seems like it should be possible to do with just Stata. Any advice?
Peter
Peter Brownell, PhD
Associate Social Scientist
RAND Corporation - 1776 Main Street - P.O. Box 2138 - Santa Monica, CA
90407-2138
Work: 310.393.0411 x 6746 - Fax: 310.260.8160 - [email protected]
__________________________________________________________________________
This email message is for the sole use of the intended recipient(s) and
may contain confidential information. Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply email and destroy all copies
of the original message.
*
* 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/