IDEAS home Printed from https://ideas.repec.org/a/tsj/stataj/v7y2007i1p98-105.html
   My bibliography  Save this article

File filtering in Stata: Handling complex data formats and navigating log files efficiently

Author

Listed:
  • John Eng

    (Department of Radiology and Radiological Science, Johns Hopkins University School of Medicine)

Abstract

A text file filter is a program that converts one text file into another on the basis of a set of rules. For statistical applications, a text file filter can convert data embedded in a complicated text file so that Stata can read and analyze it. A text file filter can also automate the production of more user-friendly output from long Stata log files. The file command lets you use text file filters in Stata. This article reviews some key programming points for successful implementation of such filters. Copyright 2007 by StataCorp LP.

Suggested Citation

  • John Eng, 2007. "File filtering in Stata: Handling complex data formats and navigating log files efficiently," Stata Journal, StataCorp LP, vol. 7(1), pages 98-105, February.
  • Handle: RePEc:tsj:stataj:v:7:y:2007:i:1:p:98-105
    as

    Download full text from publisher

    File URL: http://www.stata-journal.com/article.html?article=dm0027
    Download Restriction: no

    File URL: http://www.stata-journal.com/software/sj7-1/dm0027/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Emma Slaymaker, 2005. "Using the file command to produce formatted output for other applications," Stata Journal, StataCorp LP, vol. 5(2), pages 239-247, June.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.

      Corrections

      All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:tsj:stataj:v:7:y:2007:i:1:p:98-105. See general information about how to correct material in RePEc.

      If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

      If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

      If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

      For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christopher F. Baum or Lisa Gilmore (email available below). General contact details of provider: http://www.stata-journal.com/ .

      Please note that corrections may take a couple of weeks to filter through the various RePEc services.

      IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.