mergeFitbitData: Merge Fitbit json files into one data.frame

View source: R/mergeFitbitData.R

mergeFitbitDataR Documentation

Merge Fitbit json files into one data.frame

Description

Read and merge Fitbit json files into one data.frame, and give warning if time series do not intersect.

Usage

  mergeFitbitData(filenames = NULL,
                    desiredtz = "", configtz = NULL)

Arguments

filenames

Character vector, specifying the filenames (at least two) to be merged.

desiredtz

Character, timezone name where the accelerometer was worn. Timezone names are expected to be the timezone database names, e.g. Europe/London. See also: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones

configtz

Character, timezone name where the accelerometer was configured. Leave NULL if equal to desiredtz. Timezones name are expected to be the timezone database names, e.g. Europe/London. See also: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones

Value

Merged data from the two or more files.

Author(s)

Vincent T van Hees <v.vanhees@accelting.com>


GGIRread documentation built on Oct. 25, 2024, 5:06 p.m.