Learn R Programming

GGIR (version 3.0-5)

g.report.part5: Generate report from milestone data produced by g.part5

Description

Creates report from milestone data produced by g.part5. Not intended for direct use by package user

Usage

g.report.part5(metadatadir = c(), f0 = c(), f1 = c(), loglocation = c(),
                          params_cleaning = NULL,
                          week_weekend_aggregate.part5 = FALSE,
                          LUX_day_segments = c(), 
                          verbose = TRUE, sep_reports = ",")

Value

Function does not produce data, but only writes reports in csv format

The following files are stored in the root of the results folder: part5_daysummary_* part5_personsummary_*

The following files are stored in the folder results/QC: part5_daysummary_full_*

See package vignette paragraph "Waking-waking or 24 hour time-use analysis" and "Output part 5" for a more elaborative description of the full day time-use and analysis and reporting.

Arguments

metadatadir

Directory that holds a folder 'meta' and inside this a folder 'basic' which contains the milestone data produced by g.part1. The folderstructure is normally created by g.part1 and GGIR will recognise what the value of metadatadir is.

f0

File index to start with (default = 1). Index refers to the filenames sorted in alphabetical order

f1

File index to finish with (defaults to number of files available, i.e., f1 = 0)

loglocation

see g.part4

params_cleaning

See details in GGIR.

week_weekend_aggregate.part5

Boolean to indicate whether week and weekend-days aggregates should be stored. This is turned off by default as it generates a large number of extra columns in the output report.

LUX_day_segments

see g.part5

verbose

See details in GGIR.

sep_reports

Character (default = ","). Value used as sep argument in write.csv for writing csv files containing the GGIR reports.

Author

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