rapids/src/features
Hannah Roberts b52059b027 Ensure date/time format is maintained
Within the 'determine which is home' for loop, 'xx' is the midpoint of two datetime objects. When the midpoint is calculated to be midnight, only the date is returned. This can be replicated with:

mydates <- as.POSIXct("2018-01-01 00:00:00", tz = "UTC")
mydates
[1] "2018-01-01 UTC"

This results in 'hourofday' being NA as an hour cannot be found. By adding the suggested format wrapper, the time is maintained and 'hourofday' can be determined. It can then successfully be applied to the embedded if-statement within the loop.

mydates <- format(as.POSIXct("2018-01-01 00:00:00", tz = "UTC"), "%Y-%m-%d %H:%M:%S")
mydates
[1] "01-01-2018 00:00:00"
2021-07-23 10:12:11 -04:00
..
empatica_accelerometer/dbdp Migrate empatica sensors to new data stream 2021-03-11 14:35:34 -05:00
empatica_blood_volume_pulse/dbdp Fix extra index column when dataset is empty 2021-02-21 17:32:41 -05:00
empatica_electrodermal_activity/dbdp Fix extra index column when dataset is empty 2021-02-21 17:32:41 -05:00
empatica_heartrate/dbdp Fix extra index column when dataset is empty 2021-02-21 17:32:41 -05:00
empatica_inter_beat_interval/dbdp Fix extra index column when dataset is empty 2021-02-21 17:32:41 -05:00
empatica_temperature/dbdp Fix extra index column when dataset is empty 2021-02-21 17:32:41 -05:00
fitbit_calories_intraday/rapids Add calories intraday features 2021-04-20 12:00:38 -04:00
fitbit_data_yield/rapids Add new `FITBIT_DATA_YIELD` `RAPIDS` provider 2021-02-02 18:30:21 -05:00
fitbit_heartrate_intraday/rapids Fix HR intraday bug: minutesonZONE features are 0 2021-02-01 13:57:12 -05:00
fitbit_heartrate_summary/rapids Refactor day segments to time segments 2020-12-02 18:41:03 -05:00
fitbit_sleep_intraday Test & fix bugs of sleep intraday features 2021-04-27 14:40:14 -04:00
fitbit_sleep_summary/rapids Test & fix bugs of sleep summary features 2021-04-27 14:40:14 -04:00
fitbit_steps_intraday/rapids Refactor day segments to time segments 2020-12-02 18:41:03 -05:00
fitbit_steps_summary/rapids Refactor day segments to time segments 2020-12-02 18:41:03 -05:00
phone_accelerometer Refactor day segments to time segments 2020-12-02 18:41:03 -05:00
phone_activity_recognition Add support for multiple time zones 2021-03-11 14:35:34 -05:00
phone_applications_foreground Tested fitbit heartrate intraday feature 2021-07-21 10:24:02 -04:00
phone_battery Add support for multiple time zones 2021-03-11 14:35:34 -05:00
phone_bluetooth Bug fixed: sort bt_address alphabetically before picking the most frequent bt_address 2021-06-22 17:40:00 -04:00
phone_calls/rapids Refactor day segments to time segments 2020-12-02 18:41:03 -05:00
phone_conversation/rapids Fixed `expected_minutes` to account for different time segments. (#136) 2021-05-26 11:44:48 -04:00
phone_data_yield/rapids Add local_segment column for phone data yield features 2021-04-05 21:13:36 +00:00
phone_keyboard/rapids Added phone keyboard features including docs/tests (#134) 2021-05-21 11:45:27 -04:00
phone_light/rapids Refactor day segments to time segments 2020-12-02 18:41:03 -05:00
phone_locations Ensure date/time format is maintained 2021-07-23 10:12:11 -04:00
phone_messages/rapids Refactor day segments to time segments 2020-12-02 18:41:03 -05:00
phone_screen Fix bugs in readable datetime and screen episodes 2021-03-16 20:01:43 -04:00
phone_wifi_connected/rapids Bug fixed: countscansmostuniquedevice stays the same for all time segments 2021-06-10 10:49:22 -04:00
phone_wifi_visible/rapids Bug fixed: countscansmostuniquedevice stays the same for all time segments 2021-06-10 10:49:22 -04:00
utils Update segment labels and fix the bug when we do not have any labels for event segments 2021-06-29 09:49:24 -04:00
workflow_example Add analysis example workflow 2020-11-25 16:34:05 -05:00
.gitkeep First commit 2019-10-22 13:11:01 -04:00
entry.R Refactor day segments to time segments 2020-12-02 18:41:03 -05:00
entry.py Refactor day segments to time segments 2020-12-02 18:41:03 -05:00