R Assignment
In this assignment you will enter data into a spreadsheet. You can use any spreadsheet software that can save data in .csv format (Excel, Numbers, Google Docs). Excel is utilized in this module’s lecture video on entering data.
Complete the following steps:
For examples, see pages 5256 in the Auerbach and Zeitlin text and this module’s lecture video on entering data.
Select the first five variables from the codebook on page 53 in the Auerbach and Zeitlin text to create a spreadsheet.
Enter the data displayed in the table below.
ID gender age job leave
1 1 25 2 2
2 2 34 3 1
3 2 42 1 2
4 1 23 2 2
5 1 56 1 1
Save your spreadsheet in .csv format.
Import the data into R (see page 56 in the Auerbach and Zeitlin text).
Save the file in R format (see page 59 in the Auerbach and Zeitlin text).
Upload the R and spreadsheet files through this assignment page.