Harmonized SHARE Creation Code

The Harmonized SHARE version E.3 dataset is created using data from SHARE Waves 1, 2, 3, 4, 5, 6 release 7.1.0 as of June 2020 and SHARE Wave 7 release 7.1.1 as of December 2020.  See the Harmonized SHARE Codebook for more information at this version. 

*Harmonized SHARE E.3 contains 5,456 variables and will require Stata/SE or Stata/MP.

Download the Harmonized SHARE Stata Creation Code.

To run the Harmonized SHARE Creation Code in Stata:

  • From SHARE Research Data Center, download the 7.1.0 release Stata data for Waves 1, 2, 3, 4, 5, 6 and  and download the 7.1.1 release Stata data for Wave 7.  Download the Longitudinal Weights Release 7.1.0 for Stata and download the All Waves Coverscreen Release 7.1.0 for Stata.
  • Edit line 13 of the Stata Creation Code to list the folder location of the SHARE Coverscreen files.  Edit line 14 of the Stata Creation Code to list the folder location of the SHARE Longitudinal Weights files. Edit lines 15 - 21 to list the folder location of the SHARE data for each wave. Edit line 22 to list the folder location where you would like to save the Harmonized SHARE dataset. 

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

Watch a video tutorial on creating the Harmonized SHARE dataset