EconPapers    
Economics at your fingertips  
 

SMCL2DO: Stata module to convert log files to do-files in a robust fashion

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

Statistical Software Components from Boston College Department of Economics

Abstract: -smcl2do- converts smcl log files to do-files in a more robust fashion than log2do by exploiting smcl tags. By default, it strips all commands which resulted in errors or were interrupted. It can also strip out all commands which open windows, but do not do anything else (such as {help help} or {help edit}). It can also keep all commands if you wish. Included in the package is -splitlog-, which is made for custom postprocessing of log files. By default, -splitlog- separates commands, their associated results, and orphaned results arising from commands not in the log file by placing special comments around each. It is possible to use -splitlog- to make files of commands, output, or a mixture of the two. The style of the text surrounding the commands, results, and orphans can be customized in case they are needed for other markup languages.

Language: Stata
Requires: Stata version 11.2
Keywords: do-file; log; smcl; convert; translate; postprocess; commands; results (search for similar items in EconPapers)
Date: 2014-05-06, Revised 2016-09-23
Note: This module should be installed from within Stata by typing "ssc install smcl2do". 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/s/smcl2do.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/s/smcl2do.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/s/splitlog.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/s/splitlog.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/p/parsefilename.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/p/parsefilename.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:s457827

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