GENEActiv accelerometer file related to the #120 OxWearables / stepcount issue
收藏资源简介:
An example of .bin file that have an IndexError when processing. Consider #120 OxWearables / stepcount issue for more details. The .csv files are 1-second epoch conversions from the .bin file and contain time, x, y, z columns. The conversion was done by: reading the .bin with the GENEAread R package. keeping only the time, x, y and z columns. saving the data.frame into a .csv file. The only difference between the .csv files is the column format used for the time column before saving: time column in XXXXXX_....csv had a string class time column in XXXXXT....csv had a "POSIXct" "POSIXt" class
本示例为一份处理过程中触发索引错误(IndexError)的.bin格式文件。如需了解更多细节,请参考#120号OxWearables计步问题。 该.csv文件均由原始.bin文件转换得到的1秒采样分段数据,包含time、x、y、z四列。转换流程如下: 1. 使用GENEAread R软件包读取.bin文件; 2. 仅保留time、x、y、z四列数据; 3. 将处理后的数据框保存为.csv文件。 各.csv文件的唯一区别在于保存前time列所采用的数据格式: XXXXXX_....csv中的time列采用字符串(string)数据类型; XXXXXT....csv中的time列采用POSIXct与POSIXt复合数据类型。



