Programs

STATA, SPSS and R Program Codes for Working with SHARE Data


Downloading and Directory Setup

All codes are available for download with the .txt extension to ensure proper downloading.
Save them with the appropriate extension: .do (STATA), .R (R), .sps (SPSS).

You must adjust the directory path in each script to match where your data are stored.

Original example:

global datadir "d:\work\sharew5_rel1-0-0"

Your own directory:

global datadir "c:\soubory\SHARE\moje_data"

Training Materials


STATA

easySHARE

Codebooks by Wave

Merging Modules and Waves

STATA Code for the Article “Teacher Turnover”

Miroslava Federičová, CERGE-EI


SPSS

All files are available for download as .txt, save them as .sps.

You need to manually adjust directories in the file.


R

Useful Functions and Libraries

Loading Data

Data Cleaning

Merging Cleaned Data