Skip to main content

HARMONIZED ELSA COVID CREATION CODE

The Harmonized ELSA COVID version A dataset is created using data from the 3rd edition of the ELSA COVID-19 Substudy, released February 2022. See the Harmonized ELSA COVID Codebook for more information about this version.

Download the Harmonized ELSA COVID Stata Creation Code

To run the Harmonized ELSA COVID Creation Code in Stata:

  • From UKDS, download the Stata version of the 3rd release of the English Longitudinal Study of Ageing COVID-19 Study, Waves 1-2, 2020 data.
  • From UKDS, download the Stata version of the 39th release of the English Longitudinal Study of Ageing: Waves 0-9, 1998-2019 data.
  • Edit line 12 of the Stata Creation Code to list the folder location of the ELSA COVID-19 Study data Stata files. Edit line 13 to list to the location of the Harmonized ELSA Version G2 Stata dataset. Edit line 14 to list the folder location where you would like to save the Harmonized ELSA COVID dataset.¬†

If you prefer to work with the Harmonized ELSA COVID dataset in a statistical package other than Stata, you can convert the Harmonized ELSA COVID 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.

Back to Top