Preparing a dataset for new life: cleaning a longitudinal study for new analyses and linkages

Abstract Issue The Belfast Youth Development Study (BYDS) was conducted from 2000-2010, comprising 7 waves of collection. The data contain valuable insights into the health and social lives of adolescents but were stored using inconsistent management practices and lacked a metadata crosswalk describing all variables and their content. Primary challenges to new analysts included shared questions entered using varying notations across waves of collection (“mother” and “yes” in a “mother lives at home” variable), single question responses stored wide across multiple variables, and a need for comprehensive metadata. Description Individual questions were un-joined from the linked dataset, cleaned using the tidyverse suite of packages in R, and then left-joined to the primary dataset. Where responses were recorded differently across years, scales were standardised across waves of collection. Questions were arranged in their original order to maintain dataset integrity. Simultaneously, a crosswalk was created of each question, its old and new variable names, and its response scales. Rows for old variable names and response scales were collapsed into comma-separated values and deduplicated by the new variable names using the dplyr package. Results Following this work, the BYDS dataset is ready for new researchers to analyse and describe findings. A large grant has recently been awarded to conduct a new wave of data collection, the analysis of which will be enhanced by the cleaned dataset and its associated metadata. Lessons It is feasible and desirable to maintain older datasets through semi-automated practices facilitated through the tidyverse suite of packages in R. Improvements in data management since the initial digitisation of large datasets more than 20 years ago provide a framework for conducting this work. Key messages • The tidyverse suite of packages allow for low-burden cleaning and maintenance of important historical datasets to facilitate their ongoing use and preservation. • There is value in supporting staff training on simple data management skills in R to support lower burden in data management practices.

Authors

Institutions

Publication Details

Journal
European Journal of Public Health
Published
2024-10-28
DOI
https://doi.org/10.1093/eurpub/ckae144.2292
Primary Topic
demographic modeling and climate adaptation
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Preparing a dataset for new life: cleaning a longitudinal study for new analyses and linkages

Kathryn Higgins, Amanda D. Morse
European Journal of Public Health
demographic modeling and climate adaptation
article

Preparing a dataset for new life: cleaning a longitudinal study for new analyses and linkages

Kathryn Higgins, Amanda D. Morse
article en

Abstract

Abstract Issue The Belfast Youth Development Study (BYDS) was conducted from 2000-2010, comprising 7 waves of collection. The data contain valuable insights into the health and social lives of adolescents but were stored using inconsistent management practices and lacked a metadata crosswalk describing all variables and their content. Primary challenges to new analysts included shared questions entered using varying notations across waves of collection (“mother” and “yes” in a “mother lives at home” variable), single question responses stored wide across multiple variables, and a need for comprehensive metadata. Description Individual questions were un-joined from the linked dataset, cleaned using the tidyverse suite of packages in R, and then left-joined to the primary dataset. Where responses were recorded differently across years, scales were standardised across waves of collection. Questions were arranged in their original order to maintain dataset integrity. Simultaneously, a crosswalk was created of each question, its old and new variable names, and its response scales. Rows for old variable names and response scales were collapsed into comma-separated values and deduplicated by the new variable names using the dplyr package. Results Following this work, the BYDS dataset is ready for new researchers to analyse and describe findings. A large grant has recently been awarded to conduct a new wave of data collection, the analysis of which will be enhanced by the cleaned dataset and its associated metadata. Lessons It is feasible and desirable to maintain older datasets through semi-automated practices facilitated through the tidyverse suite of packages in R. Improvements in data management since the initial digitisation of large datasets more than 20 years ago provide a framework for conducting this work. Key messages • The tidyverse suite of packages allow for low-burden cleaning and maintenance of important historical datasets to facilitate their ongoing use and preservation. • There is value in supporting staff training on simple data management skills in R to support lower burden in data management practices.

European Journal of Public HealthVol. 34(Supplement_3)
Queen's University Belfast (GB)
Openalex Percentile: Top 77%
demographic modeling and climate adaptation
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.