Data Management and Processing. // Actual Project: a cohort study in the Gambia investigation the compound health effects of humid heat (2025).
# The ACTUAL Project
ACTUAL (*Advancing research on extreme humid heat and health*) aims to advance knowledge about the impact of humid heat on human health through developing, diversifying, and applying new methodologies, data resources, and settings beyond existing current state-of-the-art approaches in climate epidemiology.
### Content of this repository
This repository includes the data management and processing of the ACTUAL project, a cohort study in The Gambia measuring temperature and humidity on and surrounding 80 participants over 4 seperate weeks in a sub-saharan climate.
# Processing Pipelines
A description of the processing and aggregation of the output of different devices is below the workflow image.
### REDCap
REDCap logs metadata on the study procedure and measurements. In the `data processing/getREDCap.R` file I access REDCap via API and save the RAW output file as well as two aggregated versions on `CCH/Actual_project/data/App_Personal_Data_Screening/`.
### iButton (IB) data
The iButton data, saved on a Synology server, is first cleaned for each participant individually using the steps described in `vignettes/Data_Cleaning_Protocol_revised.Rmd`. The cleaned data is then compiled rowwise for all measurement devices individually in the RAW resolution, and additionally aggregated to hourly averages and then joined by all measurement devices (all variables in one table). Both files (RAW rowwise and hourly averages with joined columns) are saved to `CCH/Actual_project/data/Participants/week_X`.
```
├── data/Participants/week_1
├── week1_IB_hourly_data_clean.csv
├── week1_IBH_RAW_data_clean.csv
├── week1_IBT_RAW_data_clean.csv
├── week1_IBW_RAW_data_clean.csv
├── ...(other data)
```
### Actigraph data
The Actigraph data from Synology is converted/prepared using the Actilife program, which is done outside of this repository and not part of the processing pipeline presented here.
The output from Actilife is then stored on `CCH/ACTUAL_ …