EconPapers    
Economics at your fingertips  
 

VTOKENIZE: Stata module to split a variable into its tokens

Bill Rising ()
Additional contact information
Bill Rising: StataCorp LLC

Statistical Software Components from Boston College Department of Economics

Abstract: vtokenize and vgettoken do for variables what tokenize and gettoken do for strings in Stata. The main use of this is for dealing with nasty datasets. vtokenize splits every observation into its tokens, creating as many variables as needed to hold the tokens. vgettoken pulls the first token off every observation of a variable, placing the result in a variable of the user's choice, optionally placing the remainder into yet another variable. Both commands allow user-specified delimiter lists and both allow either treating the delimiters as tokens or ignoring them completely.

Language: Stata
Requires: Stata version 8.2
Keywords: tokens; variables; data management (search for similar items in EconPapers)
Date: 2003-12-11
Note: This module may be installed from within Stata by typing "ssc install vtokenize". 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/v/vtokenize.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/v/vtokenize.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/v/vgettoken.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/v/vgettoken.hlp 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:s436201

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:s436201