EconPapers    
Economics at your fingertips  
 

CLEANCHARS: Stata module to replace specific characters or strings in variable names and/or variable labels and/or string variable values and/or value label names and levels with stated characters/strings (using 1-1 or m-1 match)

Lars Angquist ()

Statistical Software Components from Boston College Department of Economics

Abstract: cleanchars is a program that helps out with replacing unwanted/inconvenient characters/strings in the currently active dataset. Entities searched through, and where changes could be applied, are (i) variable names (ii) variable labels (iii) string variable values (iv) value label names and corresponding level-labels. Moreover, an option directly putting all variable names into lower case is available. Note: Changes related to variable names depend on the user-written command ‘renvars’ (Weesie & Cox, 2005).

Language: Stata
Requires: Stata version 10 and renvars from SSC (q.v.)
Keywords: data management; string variables; character encodings (search for similar items in EconPapers)
Date: 2013-10-13
Note: This module should be installed from within Stata by typing "ssc install cleanchars". The module is made available under terms of the GPL v3 (https://www.gnu.org/licenses/gpl-3.0.txt). Windows users should not attempt to download these files with a web browser.
References: Add references at CitEc
Citations:

Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/c/cleanchars.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/c/cleanchars.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:s457713

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 2025-03-30
Handle: RePEc:boc:bocode:s457713