capture log close log using "socy699c-hw2-create.smcl", replace smcl /* Create a subset of the GSS of sociability measures */ local gss "http://terpconnect.umd.edu/~smilex3/GSS-Cumulative-72-12.dta" #delimit ; use year cohort socbar socrel socommun socfrend race age sex educ attend marital childs premarsx reliten childs polviews sexfreq if race!=3 using "`gss'", clear; #delimit cr /* Save the data */ save socy699c-data-sociability.dta, replace log close