English, Article edition: INTEXT: Stata module to read text files into string variables Roger Newson

User activity

Share to:
 
Bookmark: http://trove.nla.gov.au/version/102745
Physical Description
  • code
Language
  • English

Edition details

Title
  • INTEXT: Stata module to read text files into string variables
Author
  • Roger Newson
Physical Description
  • code
Notes
  • 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.
  • file handling, input, string variables
  • RePEc:boc:bocode:s429001
Language
  • English
Contributed by
OAIster

Get this edition

  • Set up My libraries

    How do I set up "My libraries"?

    In order to set up a list of libraries that you have access to, you must first login or sign up. Then set up a personal list of libraries from your profile page by clicking on your user name at the top right of any screen.

  • All (1)
  • Unknown (1)
None of your libraries hold this item.
None of your libraries hold this item.
None of your libraries hold this item.
None of your libraries hold this item.
None of your libraries hold this item.
None of your libraries hold this item.
None of your libraries hold this item.
None of your libraries hold this item.

User activity


e.g. test cricket, Perth (WA), "Parkes, Henry"

Separate different tags with a comma. To include a comma in your tag, surround the tag with double quotes.

Be the first to add a tag for this edition

Be the first to add this to a list

Comments and reviews

What are comments? Add a comment

No user comments or reviews for this version

Add a comment