/CPF-Code

Stata code to harmonize data from seven household panel surveys

Primary LanguageStata

CPF-Code

Stata code to harmonize data from seven household panel surveys.

Current version: CPF ver. 1.52 (13.10.2023)

Info at www.cpfdata.com.

Unpack the entire folder structure to “11_CPF_in_syntax”.

About CPF

The Comparative Panel File (CPF) is an open science project to harmonise the world’s major and longest-running household panel surveys from seven countries: Australia (HILDA), Germany (SOEP), Great Britain (BHPS and UKHLS), Korea (KLIPS), Russia (RLMS), Switzerland (SHP), and the United States (PSID). The project aims to support the social science community in the analysis of comparative life course data. The project is designed as an open-science platform for cooperation in the development of the code. The code integrates individual and household panel data from all seven surveys into a harmonised dataset.

Project's website: www.cpfdata.com

Forum: www.cpfdata.com/forum

GitHub: www.github.com/cpfdata

OSF: www.osf.io/h3yxq

CPF is managed by Konrad Turek and Matthijs Kalmijn at the Netherlands Interdisciplinary Demographic Institute (NIDI-KNAW) and Thomas Leopold at the University of Cologne. The CPF's code and online platform were designed and developed by Konrad Turek.

How to start

  1. Read the Manual.
  2. Download CPF-Code from the Github/OSF/www (all sources are synchronized). Copy/unpack the entire folder structure with CPF-do-files to "11_CPF_in_syntax". Or simply rename the un-packed "CPF-Code-main" as "11_CPF_in_syntax".
  3. Run "1_Folder_setup.do" according to instruction in the do-file.
  4. Copy the original input datafiles (e.g. from SOEP) to specific folders (e.g. "C:\CPF\02_Country_Data_Origin\06_SOEP\data").
  5. Go to "2_CPF_Main__Fill_and_run.do" and follow instructions regarding the worfklows.

Licence Apache-2

Copyright CPF Konrad Turek | CPF is an open-source code licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.