PCdLf / wearables

Functions for reading e4 data, and create several parameters for analysis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

plot_artifacts hardcodes "CEST" timezone

PCdLf opened this issue · comments

commented

Change to sys.timezone() if I am correct

plot_artifacts <- function(labels, eda_data){
binaries <-
labels %>%
dplyr::filter(.data$label == -1) %>%
mutate(min = as.numeric(lubridate::force_tz(.data$id, "CEST") - eda_data$DateTime[1],
units = "mins")) %>%
dplyr::pull(.data$min)