next up previous
Next: Typing in a New Up: Getting Data into Stata Previous: Getting Data into Stata

Using Stata-Format Datasets

To use a dataset that has been saved in Stata format use the `` use'' command. Stata-format datasets are usually recognizable by the ``.dta'' in the filename (e.g. wind.dta). To use a dataset called ``wind.dta'', type

 
		 use wind

If you are not sure of the filename, select File and Open from the menus. A file-finder dialog box will appear and you can navigate to the appropriate directory and find your data file.
If you already have a dataset in memory, Stata usually will not let you load a new dataset until you type
 
		  clear

to clear out the previous dataset.



Jerome.P.Reiter
Sun Sep 19 12:45:39 EDT 1999