This file is part of IDEAS, which uses RePEc data


[ Papers | Articles | Software | Books | Chapters | Authors | Institutions | JEL Classification | NEP reports | Search | New papers by email | Author registration | Rankings | Volunteers | FAQ | Blog | Help! ]

INTEXT: Stata module to read text files into string variables

Author info | Abstract | Publisher info | Download info | Related research | Statistics
Author Info
Roger Newson () (National Heart and Lung Institute, Imperial College London)

Additional information is available for the following registered author(s):

Abstract

The intext package inputs arbitrary text files into string variables in the memory, without removing leading and trailing blanks (as infix does). intext contains 2 programs, intext and tfconcat. intext inputs a single text file into a list of generated string variables, generating enough variables to contain the longest input text line (including leading and trailing blanks). tfconcat concatenates a list of arbitrary text files into a new Stata data set in memory, overwriting any previous data. The new data set contains a list of string variables (as generated by intext), and also, optionally, additional variables, indicating, for each observation, its input text file of origin and/or its sequential order as a line within its input text file of origin. Therefore, tfconcat is like dsconcat, except that it concatenates text files instead of Stata data sets. intext is an inverse of outfile,runtogether, because the generated string variables created by intext can be output using outfile,runtogether to produce a duplicate of the original file. Therefore, intext enables Stata programs to read Stata programs, just as outfile,runtogether enables Stata programs to write Stata programs.

Download Info
To download:

If you experience problems downloading a file, check if you have the proper application to view it first. Information about this may be contained in the File-Format links below. In case of further problems read the IDEAS help file. Note that these files are not on the IDEAS site. Please be patient as the files may be large.

File URL: http://fmwww.bc.edu/repec/bocode/i/intext.ado
File Format: text/plain
File Function: program code
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/i/intext.hlp
File Format: text/plain
File Function: help file
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/t/tfconcat.ado
File Format: text/plain
File Function: program code
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/t/tfconcat.hlp
File Format: text/plain
File Function: help file
Download Restriction: no

Publisher Info
Software component provided by Boston College Department of Economics in its series Statistical Software Components with number S429001.

Download reference. The following formats are available: HTML, plain text, BibTeX, RIS (EndNote), ReDIF
Size:
Programming language: Stata
Requires: Stata version 9.0
Date of creation: 24 Oct 2002
Date of revision: 21 Feb 2007
Handle: RePEc:boc:bocode:s429001

Note: This module may be installed from within Stata by typing "ssc install intext". Windows users should not attempt to download these files with a web browser.
Contact details of provider:
Postal: Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA
Phone: 617-552-3670
Fax: +1-617-552-2308
Email:
Web page: http://fmwww.bc.edu/EC/
More information through EDIRC

Order Information:
Web: http://repec.org/docs/ssc.php

For technical questions regarding this item, or to correct its listing, contact: (Christopher F Baum).

Related research
Keywords: file handling input string variables

Statistics
Access and download statistics

Did you know? IDEAS also computes impact factors for journals and working paper series.

This page was last updated on 2008-5-14.


This information is provided to you by IDEAS at the Department of Economics, College of Liberal Arts and Sciences, University of Connecticut using RePEc data on a server sponsored by the Society for Economic Dynamics.