Affiliation:
1. The Kinder Institute for Urban Research Hobby Center
for the Study of Texas Rice University Houston, TX
Abstract
This article introduces a new Stata command, labcenswdi,1 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.
Subject
Mathematics (miscellaneous)
Reference4 articles.
1. Stata Tip 45: Getting those Data into Shape
2. Using the World Development Indicators Database for Statistical Analysis in Stata
3. The World Bank Group. 2011. World Development Indicators (WDI) Online. http://data.worldbank.org/data-catalog/world-development-indicators.
4. U.S. Census Bureau. 2000. American FactFinder. http://factfinder.census.gov.
Cited by
1 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Dealing with Identifier Variables in Data Management and Analysis;The Stata Journal: Promoting communications on statistics and Stata;2013-12