Economics at your fingertips  

DATACHECK: Stata module to perform data checks and produce informative output

Krishnan Bhaskaran ()
Additional contact information
Krishnan Bhaskaran: London School of Hygiene and Tropical Medicine, UK

Statistical Software Components from Boston College Department of Economics

Abstract: datacheck is a simple utility for carrying out data checks and reporting on problems or errors in a dataset. A datacheck statement specifies a condition which one or more variables in the dataset must meet. If the data 'fail' the check, the program displays meaningful and customizable output identifying the problem observation(s). In contrast to assert, datacheck does not halt Stata or produce any errors, so a number of datacheck statements can be included in a do-file to run in sequence. This allows a suite of data checks to be performed in a single run, with the customized output serving as a user-friendly log detailing problems with the data.

Language: Stata
Requires: Stata version 8.2
Keywords: data management; data check; consistency; consistency check; data cleaning; check; verify; assert; assertk (search for similar items in EconPapers)
Date: 2011-02-20
Note: This module should be installed from within Stata by typing "ssc install datacheck". The module is made available under terms of the GPL v3 ( Windows users should not attempt to download these files with a web browser.
References: Add references at CitEc
Citations: Track citations by RSS feed

Downloads: (external link) program code (text/plain) help file (text/plain) sample program (text/plain) sample data file (application/x-stata) sample data file (application/x-stata) sample data file (application/x-stata) documentation (application/pdf)

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:

Ordering information: This software item can be ordered from

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 2024-03-02
Handle: RePEc:boc:bocode:s457246