Skip to content

codecheckers/DementiaPhysicalActivity

This branch is 27 commits ahead of DanielaGawehns/DementiaPhysicalActivity:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ba3b3a2 · Dec 5, 2024

History

31 Commits
Nov 7, 2022
Feb 16, 2023
Dec 2, 2024
Nov 28, 2024
Jan 25, 2024
Nov 7, 2022
Nov 16, 2022
Nov 7, 2022
Nov 7, 2022
Feb 16, 2023
Nov 28, 2024
Jan 25, 2024
Dec 12, 2022
Jan 25, 2024
Nov 28, 2024
May 24, 2024
Jan 25, 2024
Nov 28, 2024
May 24, 2024
Jan 25, 2024
Dec 19, 2022
Dec 19, 2022
Nov 28, 2022
Feb 16, 2023
Jan 25, 2024
Sep 26, 2024
Sep 26, 2024
Nov 28, 2024
Feb 16, 2023
Nov 28, 2022
Nov 7, 2022
Nov 16, 2022
Nov 28, 2022
Dec 12, 2022
Dec 19, 2022
Feb 16, 2023
Feb 16, 2023
Feb 16, 2023
May 24, 2024
Nov 7, 2022
Dec 12, 2022
Feb 23, 2023
Nov 7, 2022
Feb 16, 2023
Jan 25, 2024
Jan 25, 2024
Jan 25, 2024
Jan 25, 2024
Jan 25, 2024
Jan 25, 2024
Jan 25, 2024
Jan 25, 2024
Nov 28, 2022
Nov 28, 2024
Nov 16, 2022
Nov 28, 2022
Nov 28, 2024
Jan 25, 2024
Jan 25, 2024
Jan 25, 2024
Jan 25, 2024
Jan 25, 2024
Jan 25, 2024
Jan 25, 2024
Jan 25, 2024
Jan 25, 2024
Jan 25, 2024
Jan 25, 2024
Jan 25, 2024
Jan 25, 2024
Jan 25, 2024
Jan 25, 2024
Jan 25, 2024
Jan 25, 2024
Jan 25, 2024
Jan 25, 2024
Jan 25, 2024
Nov 28, 2024
Nov 29, 2024
Apr 5, 2024
Jan 25, 2023
Feb 16, 2023
Feb 16, 2023
Feb 16, 2023
Jan 25, 2023
Feb 16, 2023
Jan 25, 2023
Jan 18, 2023
Dec 19, 2022
Dec 19, 2022
Dec 5, 2024
Feb 16, 2023
Jan 25, 2024
May 24, 2024
Nov 28, 2022
Jan 25, 2024
Jan 18, 2023

Repository files navigation

Using Consumer Wearables to Measure Physical Activity of Nursing Home Residents with Dementia

This is the repository with the code needed to rerun our analysis of the manuscript: "Using Consumer Wearables to Measure Physical Activity of Nursing Home Residents with Dementia", available as preprint here: https://osf.io/preprints/psyarxiv/mqg86

Data

The data necessary to run this script and to recreate the plots is currently not available. There are three types needed a) aggregated behavioral observations (Medlo Data) b) raw accelerometer data (Acc Data) c) aggregated 24hrs log data from the Samsung activity recognition application (24hrs Data)

From the raw accelerometer data one can calculate the MAD derivatives. With the two aggregated datasets the correlation matrix can be recreated

Data Contact

You can contact Daniela Gawehns, the owner of the repro and first author of the manuscript regarding the data: [email protected] or [email protected]

Getting Started

The .r file named AnalysisPipelineSTART_HERE.R is the easiest entry point to rerun the analysis. This is where the data gets imported, cleaned and normalized into the format used for the plots. The file PlottingScripts.R contains all code used to plot the figures in the manuscript.

Requirements

The scrips have the following dependencies: ggplot2, lubridate, haven and eeptools (eeptools is only used in a script to extract demographic data from participant files, which will not be shared out of privacy reasons)

Publications

Gawehns, D., Portegijs, S., van Beek, A. P. A., & van Leeuwen, M. (2024, January 26). Using Consumer Wearables to Measure Physical Activity of Nursing Home Residents with Dementia. Retrieved from osf.io/preprints/psyarxiv/mqg86

van Dijk, R.M.K., Gawehns, D. and van Leeuwen, M., 2023. WEARDA: Recording Wearable Sensor Data for Human Activity Monitoring. Journal of Open Research Software, 11(1), p.13.DOI: https://doi.org/10.5334/jors.454

License

This project is licensed under CC-BY-SA-4.0.

About

Code and scripts to run the analyses for our paper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 93.9%
  • TeX 5.8%
  • Makefile 0.3%