In the load_dam() step it shows that there is an error and that there is no suitable data
_Error in find_dam_first_last_lines(path, start_datetime, stopdatetime, :
No data in selected date range
### I would like to know why this line of code is not executing properly, is it because of a problem with the time formatting in the table? How can I fix this problem?
My code is like this
install.packages(c('ggetho', 'damr'))
rm(list = ls()) getwd()
add work directory
DATA_DIR <- "D:/Sleep Practice"
show work directory
list.files(DATA_DIR, pattern= ".txt|.csv")
make work directory
setwd(DATA_DIR)
build damr metadata
library(damr) library(behavr) metadata <- fread("metadata.csv") metadata metadata <- link_dam_metadata(metadata, result_dir = DATA_DIR) metadata dt2 <- load_dam(metadata) summary(dt)
In the load_dam() step it shows that there is an error and that there is no suitable data _Error in find_dam_first_last_lines(path, start_datetime, stopdatetime, : No data in selected date range
### I would like to know why this line of code is not executing properly, is it because of a problem with the time formatting in the table? How can I fix this problem?
damr_tutorial.zip