Skip to content

Commit

Permalink
Added a new device (SpectraWear) and fixed a Bug in another (DeLux)
Browse files Browse the repository at this point in the history
  • Loading branch information
JZauner committed Dec 4, 2023
1 parent ae83470 commit 5461d8e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions R/import_LL.R
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,24 @@ imports <- function(device,
}

import_arguments <- list(
#SpectraWear
SpectraWear = rlang::expr({
tmp <-suppressMessages(
readr::read_csv(filename,
n_max = n_max,
id = "file.name",
locale = locale,
name_repair = "universal",
...
))
tmp <- tmp %>%
dplyr::rename(MEDI = Mel
) %>%
dplyr::mutate(Datetime =
lubridate::dmy_hms(paste(Date, Time), tz = tz),
Id = paste(.data$id, .data$ls, sep = ".")
)
}),
#Speccy
Speccy = rlang::expr({
tmp <-suppressMessages(
Expand All @@ -228,6 +246,7 @@ import_arguments <- list(
id = "file.name",
locale = locale,
name_repair = "universal",
col_types = c("fccdddddddddddddddddd"),
...
))
tmp <- tmp %>%
Expand Down
Binary file modified data/supported.devices.rda
Binary file not shown.

0 comments on commit 5461d8e

Please sign in to comment.