Each of the below instructional do-files corresponds to a topic covered during our first session
Select do-files to download
Once downloaded, you may open either by double-clicking file in saved location or by entering "doedit filename" in Stata's main command window (e.g., doedit c:\data\stata\1.2import.do).
Open, close, view, and translate log (.smcl) files. [Please note: contains filepaths that may not correspond to your storage arrangement. If left unedited, do-file unlikely to run smoothly in Stata]
Import native (.dta) and non-native (.csv, .xlsx, etc.) datasets. [Please note: contains filepaths that may not correspond to your storage arrangement. If left unedited, do-file unlikely to run smoothly in Stata]
Save and relabel working datasets. [Please note: contains filepaths that may not correspond to your storage arrangement. If left unedited, do-file unlikely to run smoothly in Stata]
VU Libraries ResearchGuides is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. You may republish or adapt this guide for educational purposes, as long as proper credit is given. Our recommended credit includes the statement: Written by, or adapted from, Vanderbilt University Libraries (current as of .....). If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.