cap log close log using stata-read_data-insheet.smcl, replace smcl /* READING DATA: Using insheet */ /* Problem #1: Use insheet to read a tab delimited file */ insheet using "Stata-Read_Data-INSHEET.txt", clear /* Problem #2: Format the data display */ format party %-23s format vote %10.0fc format percent %9.2f /* Problem #3: Store the data efficiently */ compress /* Problem #4: Look at the data */ describe list log close