https://github.com/carlbittendorf/ambulatoryassessmentanalysis.jl
Load, process and analyze ambulatory assessment data
https://github.com/carlbittendorf/ambulatoryassessmentanalysis.jl
ambulatory-assessment julia-language
Last synced: 8 months ago
JSON representation
Load, process and analyze ambulatory assessment data
- Host: GitHub
- URL: https://github.com/carlbittendorf/ambulatoryassessmentanalysis.jl
- Owner: CarlBittendorf
- License: mit
- Created: 2025-05-07T13:53:07.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-10-04T10:56:51.000Z (9 months ago)
- Last Synced: 2025-10-04T12:29:28.795Z (9 months ago)
- Topics: ambulatory-assessment, julia-language
- Language: Julia
- Homepage:
- Size: 310 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AmbulatoryAssessmentAnalysis.jl
[](https://github.com/CarlBittendorf/AmbulatoryAssessmentAnalysis.jl/actions/workflows/CI.yml?query=branch%3Amain)
[](https://github.com/JuliaTesting/Aqua.jl)
## Installation
Follow the instructions on [https://julialang.org/install/](https://julialang.org/install/) to download and install Julia (if you have not already).
Type `]` in the Julia REPL to enter the package manager REPL mode und run
```
pkg> add https://github.com/CarlBittendorf/AmbulatoryAssessmentAnalysis.jl
```
## Examples
```julia
using AmbulatoryAssessmentAnalysis
using Dates
# replace with your own credentials
studyid = "12345"
apikey = "abcdefghijklmnopqrstuvwxyz"
# download mobile sensing data from movisensXS and save it to "path/to/dir"
download("path/to/dir", MovisensXSUnisens, studyid, apikey)
# load the physical activity data of all participants as a DataFrame
df = gather("path/to/dir", MovisensXSPhysicalActivity)
# calculate aggregated variables at the daily level
aggregate(df, MovisensXSPhysicalActivity, Day(1))
```
## Acknowledgements
Funded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) – GRK2739/1 – Project Nr. 447089431 – Research Training Group: KD²School – Designing Adaptive Systems for Economic Decisions