*! version 2.0 07nov2017

*! Doug Hemken

Title

dyn2do Extract Stata commands from a dynamic document

Syntax

dyn2do
filename
[, options]

Main
saving(filename2) save extracted commands in filename2

replace replace filename2 if it already exists

Description

dyn2do Takes a dynamic document and extracts the Stata code.

Options

Main

saving filename2 to save the code, the resulting do file

replace replace filename2 if it already exists

Remarks

For detailed information on the whatever statistic, see [R] intro.

Examples

. whatever mpg weight

. whatever mpg weight, meanonly

Author

Doug Hemken

Social Science Computing Cooperative

Univ of Wisc-Madison

dehemken@wisc.edu

https://www.ssc.wisc.edu/~hemken/Stataworkshops

https://github.com/Hemken/dyn2do