g.inspectfile: function to inspect accelerometer file for brand, sample...

View source: R/g.inspectfile.R

g.inspectfileR Documentation

function to inspect accelerometer file for brand, sample frequency and header

Description

Inspects accelerometer file for key information, including: monitor brand, sample frequency and file header

Usage

g.inspectfile(datafile, desiredtz = "", params_rawdata = c(),
                         configtz = c(), ...)

Arguments

datafile

name of data file

desiredtz

Desired timezone, see documentation g.getmeta

params_rawdata

See g.part1

configtz

...

...

Any argument used in the previous version of g.getmeta, which will now be used to overrule the arguments specified with the parameter objects.

Value

header

fileheader

monn

monitor name (genea, geneactive)

monc

monitor brand code (0 - ad-hoc file format, 1 = genea (non-commercial), 2 = GENEActive, 3 = actigraph, 4 = Axivity (AX3, AX6), 5 = Movisense, 6 = Verisense)

dformn

data format name, e.g bin, csv, cwa, gt3x

dformc

data format code (1 = .bin, 2 = .csv, 3 = .wav, 4 = .cwa, 5 = ad-hoc .csv, 6 = .gt3x)

sf

samplefrequency in Hertz

filename

filename

Author(s)

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


GGIR documentation built on Sept. 11, 2024, 8:59 p.m.