-
Notifications
You must be signed in to change notification settings - Fork 7
Description
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, stop_datetime, :
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?