import_actigraph_meta | R Documentation |
import_actigraph_meta
imports meta information stored in the Actigraph
summary csv file.
import_actigraph_meta(filepath, header = TRUE)
filepath |
string. The filepath of the input data. |
header |
logical. Whether the Actigraph RAW or summary csv file includes column names. Default is TRUE. |
The returned meta information includes following fields.
sr: Sampling rate in Hz.
fw: Firmware version. For example "1.7.0".
sw: Software version of Actilife. For example "6.13.0".
sn: Serial number of the device.
st: Start time of the data, in POSIXct format.
dt: Download time of the data, in POSIXct format.
at: Type of the device. Could be "MAT","CLE", "MOS" or "TAS", corresponding to different Actigraph devices.
imu: Whether the file is about Actigraph GT9X IMU data.
gr: The dynamic range in g unit.
vs: The voltage level of the device, may be used in AD conversion. See
import_actigraph_csv
.
res: The resolution or the number of
bits used to store quantized voltage values of the device, may be used in AD
conversion. See import_actigraph_csv
.
list. A list of Actigraph device meta information.
This function is a File IO function that is used to get related meta information such as sampling rate, firmware version from Actigraph devices.
Other File I/O functions:
export_to_actilife()
,
import_actigraph_count_csv()
,
import_actigraph_csv_chunked()
,
import_actigraph_csv()
,
import_activpal3_csv()
,
import_enmo_csv()
,
import_mhealth_csv_chunked()
,
import_mhealth_csv()
default_ops = options() options(digits.secs=3) # Use the sample actigraph csv file provided by the package filepath = system.file('extdata', 'actigraph_timestamped.csv', package='MIMSunit') # Check file format readLines(filepath)[1:15] # Load the meta headers of input file import_actigraph_meta(filepath, header=TRUE) # Restore default options options(default_ops)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.