i
Frequency table construction |
4. Reading Excel data into Stata |
. cd “C:\Documents and Settings\kwelch\Desktop\stata”We can next import the data using the following command:
. import delimited ageNotice that Stata already searches a file with "csv" extension, without having to specify it. To verify that the data have been imported correctly, we can ask Stata to show us the data:
. browseWe should see the same data that we had in the Excel file.