Managing the U.S. Census 2000 and World Development Indicators databases for statistical analysis in Stata

This article introduces a new Stata command, labcenswdi, to automatically manage databases that provide variable descriptions on the second row in a dataset. While renaming all variables and converting them from string to numeric, labcenswdi automatically manages the variable descriptions including...

Full description

Saved in:
Bibliographic Details
Published inStata Journal Vol. 11; no. 4; pp. 589 - 604
Main Author Jeanty, P. Wilner
Format Journal Article
LanguageEnglish
Published 2011
Edition199
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:This article introduces a new Stata command, labcenswdi, to automatically manage databases that provide variable descriptions on the second row in a dataset. While renaming all variables and converting them from string to numeric, labcenswdi automatically manages the variable descriptions including removing them from the second row to place them into Stata variable labels and saving them to a text file. The process yields a dataset ready for statistical analysis. I illustrate how this command can be used to efficiently manage datasets obtained from the U.S. Census 2000 and the World Development Indicators databases.
DOI:10.22004/ag.econ.196714