diff --git a/src/data/streams/aware_csv/container.R b/src/data/streams/aware_csv/container.R index 90b910e4..1863550a 100644 --- a/src/data/streams/aware_csv/container.R +++ b/src/data/streams/aware_csv/container.R @@ -57,7 +57,7 @@ pull_data <- function(stream_parameters, device, sensor, sensor_container, colum data_file <- file.path(stream_parameters$FOLDER, sensor_container) if(!file.exists(data_file)) - stop("The data container should be a CSV file but it does not exist: ", data_file) + stop("The CSV file with ",sensor," data does not exist: '", data_file, "'. In config.yaml, configure [",sensor,"][CONTAINER] with the name of your CSV file including its '.csv' extension (you set the folder name in [PHONE_DATA_STREAMS][aware_csv]") if(!endsWith(data_file, ".csv")) stop("The data container should be a CSV file: ", data_file)