Go to file
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
.github Update docs with contributing guide 2021-05-10 15:48:14 -04:00
data/external documented phone_battery_test and added event tests 2021-04-08 16:50:18 -04:00
docs Tested fitbit heartrate intraday feature 2021-07-21 10:24:02 -04:00
example_profile Update example workflow for app episode features 2021-07-01 18:08:33 -04:00
models First commit 2019-10-22 13:11:01 -04:00
notebooks First commit 2019-10-22 13:11:01 -04:00
references First commit 2019-10-22 13:11:01 -04:00
renv Update renv 2021-03-11 14:39:26 -05:00
reports Add restore_sql_file rule; notsummarised module; diff platforms for heatmap_days_by_sensors 2020-08-03 13:09:16 -04:00
rules Update heatmap of recorded phone sensors 2021-06-29 09:49:24 -04:00
src Ensure date/time format is maintained 2021-07-23 10:12:11 -04:00
tests Tested fitbit heartrate intraday feature 2021-07-21 10:24:02 -04:00
tools Tested fitbit heartrate summary feature 2021-07-20 16:54:08 -04:00
.Rprofile Add Travis CI 2020-05-18 19:24:34 -04:00
.gitignore Add script & docs to create multi timezones file 2021-03-25 16:22:25 -04:00
Dockerfile Add libglpk40 dependency 2021-01-05 19:24:49 -05:00
LICENSE Update LICENSE 2020-03-10 16:52:23 -04:00
README.md Add release and test badges 2020-12-18 11:03:58 -05:00
Snakefile Update heatmaps of overall data yield 2021-06-29 09:48:30 -04:00
code_of_conduct.md Add code of conduct 2020-11-30 13:51:05 -05:00
config.yaml Update example workflow for app episode features 2021-07-01 18:08:33 -04:00
environment.yml Update virtual envs 2020-12-18 14:06:28 -05:00
mkdocs.yml Update docs with contributing guide 2021-05-10 15:48:14 -04:00
rapids remove .py ext from rapids.py 2020-10-28 16:59:19 -04:00
renv.lock Update renv 2021-03-11 14:39:26 -05:00

README.md

GitHub release (latest SemVer) Snakemake Documentation Status tests Contributor Covenant

RAPIDS

Reproducible Analysis Pipeline for Data Streams

For more information refer to our documentation

By MoSHI, University of Pittsburgh