Harmonized ELSA End of Life Creation Code
The Harmonized ELSA End of Life version A.2 dataset is created using data from the 35th edition of the ELSA, released July 2021.
Download the Harmonized ELSA End of Life Stata Creation Code.
To run the Harmonized ELSA EOL Creation Code in Stata:
- From UKDS, download ELSA data.
- Store all ELSA data files in one folder without any sub-folders on your computer.
- Edit lines 14 and 15 of the Stata Creation Code to list the folder location of the ELSA data and the folder location where you would like to save the Harmonized ELSA dataset.
If you would prefer to work with the Harmonized ELSA EOL dataset in a statistical package other than Stata, you can convert the Harmonized ELSA EOL Stata dataset using a program such as Stat/Transfer. If you do not have access to Stat/Transfer, you may be able to read the .dta dataset into your stat package using an “import” or “get” function. When reading a .dta dataset into another package, it is best to first save the dataset in a Stata version 12 format using the command saveold.