set more off capture log close capture log using natlterr2013.log, replace capture set mem 5g ** -----------------------------------------------; ** This program reads the 2013 NCHS Natality Detail U.S. Territories Data File ** by Jean Roth , jroth@nber.org , Tue Oct 6 14:20:31 EDT 2015 ** Please report errors to jroth@nber.org ** NOTE: This program is distributed under the GNU GPL. ** See end of this file and http://www.gnu.org/licenses/ for details. ** Run with do natlterr2013 ** -----------------------------------------------; ** The following line should contain ** the complete path and name of the raw data file. ** On a PC, use backslashes in paths as in C:\ ; local dat_name "/homes/data/natality/ftp.cdc.gov/pub/Health_Statistics/NCHS/Datasets/DVS/natality/Nat2013ps.dat" ** The following line should contain the path to your output '.dta' file ; local dta_name "/homes/data/natality/2013/natlterr2013" ** The following line should contain the path to the data dictionary file ; local dct_name "natlterr2013.dct" ** The line below does NOT need to be changed ; infile using "`dct_name'", using("`dat_name'") clear note: natlterr2013 data set up by Jean Roth, jroth@nber.org Tue Oct 6 14:20:31 EDT 2015 compress saveold "`dta_name'",replace