EconPapers    
Economics at your fingertips  
 

DBF2STATA: Stata module for batch conversion of DBF files to Stata.dta format

William Dormechele ()
Additional contact information
William Dormechele: University of East Anglia

Statistical Software Components from Boston College Department of Economics

Abstract: dbf2stata is a Stata 16+ command for batch conversion of DBF files to Stata .dta format. The command uses the public dbf2stata Python package as its conversion engine and supports DBF date and datetime fields, numeric and logical fields, character and memo fields, lowercase variable names by default, optional preservation of DBF field-name case, selectable output directories, and overwrite protection. The package also includes dbf2stata_setup, a companion setup utility for the external Python dependency. dbf2stata itself never silently installs or upgrades Python packages. If the Python engine is missing, the user receives a clear message to run dbf2stata_setup. When explicitly invoked, dbf2stata_setup uses the exact Python interpreter currently running inside Stata, checks Python and pip, installs the supported public PyPI dependency when needed, and verifies that the conversion engine can be imported.

Language: Stata
Requires: Stata version 16 and Python 3.10
Keywords: DBF files; Python (search for similar items in EconPapers)
Date: 2026-08-20
Note: This module should be installed from within Stata by typing "ssc install dbf2stata". The module is made available under terms of the MIT license (https://opensource.org/licenses/MIT).
References: Add references at CitEc
Citations:

Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/d/dbf2stata.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/d/dbf2stata.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/d/dbf2stata_setup.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/d/dbf2stata_setup.sthlp help file (text/plain)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:boc:bocode:s459863

Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php

Access Statistics for this software item

More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().

 
Page updated 2026-08-22
Handle: RePEc:boc:bocode:s459863