Skip to content

CarlBittendorf/AmbulatoryAssessmentAnalysis.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AmbulatoryAssessmentAnalysis.jl

Build Status Aqua

Installation

Follow the instructions on 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

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

About

Load, process and analyze ambulatory assessment data

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages