1 | SensorData.cleanup(sensorData, level = "year", ref = NULL)
|
sensorData |
input dataframe that matches mhealth specification |
level |
"second", "minute", "hour", "day", "month", or "year"; used to trim data that doesn't match the reference value. |
ref |
the reference date string for the certain time "level". E.g. "2015-10", for level "month"; the string format should follow " |
For example, if level is "year", sensor data will be trimmed according to the provided ‘ref' date’s year; or if 'gt' is not provided, the reference value of "year" level will be the most frequent year. Make sure that the data frame is including timestamps.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.