Skip to content

Commit

Permalink
Merge pull request #89 from fhdsl/slidoFileFix
Browse files Browse the repository at this point in the history
pull new file and replace old name
  • Loading branch information
cansavvy authored Oct 1, 2024
2 parents 1dc2e7a + 6fee6b4 commit ebb0bc1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/slido.R
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ get_slido_files <- function(drive_id, token = NULL, recursive = TRUE, keep_dupli
"^Polls-overall-",
"^Replies-",
"^Polls-per-user-",
"^Polls-per-participant-",
"^Questions-"
)

Expand All @@ -63,6 +64,7 @@ get_slido_files <- function(drive_id, token = NULL, recursive = TRUE, keep_dupli
event_names_regex <- paste0(slido_event_name, collapse = "|")
slido_type <- stringr::word(slido_file_names, sep = event_names_regex, start = 1)
slido_type <- gsub("-$", "", slido_type)
slido_type <- gsub("Polls-per-user", "Polls-per-participant", slido_type)

# Set up data frame
slido_files <- file_info %>%
Expand Down

0 comments on commit ebb0bc1

Please sign in to comment.