Load and clean sleeplog information
g.loadlog.RdLoads sleeplog from a csv input file and applies sanity checks before storing the output in a dataframe
Arguments
- loglocation
Location of the spreadsheet (csv) with sleep log information. See package vignette for explanation on expected format
- coln1
Column number in the sleep log spreadsheet where the onset of the first night starts
- colid
Column number in the sleep log spreadsheet in which the participant ID code is stored (default = 1)
- nnights
Number of nights for which sleep log information should be available. It assumes that this is constant within a study. If sleep log information is missing for certain nights then leave these blank
- sleeplogsep
Value used as sep argument for reading sleeplog csv file, usually "," or ";". This argument has been deprecated.
- meta.sleep.folder
Path to part3 milestone data, only specify if sleeplog is in advanced format.
- desiredtz
See g.part4