In order to start analysing data you will need to install R and RStudio on your computer. Then download this repository as a zip archive, unzip, and run the map.Rproj file to initiate RStudio session.
SIDE NOTE: All the changes you make will be local to your machine. Optionally, you can install github client, if you would like to version control your developments and share them with the master copy. If the last sentenced confused you, feel free to ignore it.
Open RStidop session using .Rproj file in the root of the repository.
This repository does not contain any actual data. You must provide your own data files.
- Log in (create the account if haven't already)
- Proceed to Data Download
- Download
Core Fat Filesshown on the image below. Save in./data-unshared/raw/RAND-YYYY-MM-DD - Download the RAND HRS Data file
- Unzip the files into the same folder
./manipulation/0-ellis-island.R
Imports the raw .SAV files (SPSS format) and save unaltered data in .RDS format. Extracts and saves meta data for each file (one per selected wave). Adjust the path_folder definition as needed.
./manipulation/1-scale-assembly.R.
Using the extracted meta data This will use dead meta data files to subset and rename relevant variables.
./manipulation/2-laundry-room.R
Further cleaning of the data.
For a quick start, open ./reports/look-at-data.R and save a copy under a new name in a separate folder in ./sandbox/.