Changes

36 bytes added ,  01:05, 2 June 2022
m
Line 22: Line 22:  
== time in seconds since 1970 aka linux epochs  ==
 
== time in seconds since 1970 aka linux epochs  ==
   −
To save space, Mbient labs records time in seconds since start of recording. When the appropriate app exports the data time is represented as seconds since 1970; basically linux epochs. This is easier to parse, see the 'lubridate' R package. If the CSV file contains errors or complex quote in quote or strings with many special characters like URLs the problem becomes more complicated. When I analyze the data some functions can not work with class time date so I am forced to convert time date back to seconds. This may not apply to all statistical analysis tools but they all internally hold time date as something very close to a double or integer than a character string.
+
To save space, Mbient labs records time in seconds since start of recording. When the appropriate app exports the data time is represented as seconds since 1970; basically linux epochs. This is easier to parse, see the '[lubridate](https://lubridate.tidyverse.org/)' R package. If the CSV file contains errors or complex quote in quote or strings with many special characters like URLs the problem becomes more complicated. When I analyze the data some functions can not work with class time date so I am forced to convert time date back to seconds. This may not apply to all statistical analysis tools but they all internally hold time date as something very close to a double or integer than a character string.
1,685

edits