Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: read dbf files directly into Stata?

From   "Brownell, Peter" <>
To   <>
Subject   st: read dbf files directly into Stata?
Date   Mon, 17 May 2010 17:35:18 -0700


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

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 Brownell, PhD
Associate Social Scientist
RAND Corporation - 1776 Main Street - P.O. Box 2138 - Santa Monica, CA
Work: 310.393.0411 x 6746  - Fax: 310.260.8160 -


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:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index