Skip to main content

Link to code

Date: November 2026


Authors/Creators: Jenna Tipaldo, Deborah Balk 

Specific purpose of code: This repository provides code to link raw SHELDUS data with longitudinal studies such as cohort or panel studies. The code was originally developed for use with the Health and Retirement Study (HRS), but includes a simulated dataset and could be applied to other longitudinal studies such as panel or cohort studies.

General Application: This is an example of linking county-level data on disaster events with longitudinal data. This could be used with many studies such as longitudinal cohorts or panel studies. This code could also be applied to other exposure datasets that include raw records – the code provides a way to count the number of events within a specified timeframe as well as those that meet a threshold, plus information about such events such as the date.

How does or could this code allow researchers to assess research questions related  to aging or life course?: This code allows for researchers to assess environmental exposures over a longitudinal period of observation, allowing for residential moves.

Data sets used: 

  • Population, socioeconomic, or health data: Simulated data that resembles a longitudinal cohort, emulating the structure of the Health and Retirement Study. 
  • Climate, weather, disaster or environment data: Spatial Hazard Events and Losses Database for the United States (SHELDUS)

Are all the data publicly available or are some restricted-access? SHELDUS is publicly available with data for South Carolina free to download (access to entire SHELDUS dataset requires an agreement with SHELDUS, potentially with compensation).

Links to data: https://cemhs.asu.edu/sheldus  

Coding Language: R 

Tools and Packages used: tidyverse, data.table

Output(s): Dataset

Spatial extent: South Carolina (Example), United States (application)

Temporal extent: 2012-2022 (Example)