Skip to content

Commit

Permalink
remove asterisc in pairs comb
Browse files Browse the repository at this point in the history
  • Loading branch information
maristeguie committed Jul 3, 2020
1 parent e0e880a commit ac9c13f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Parent_folder/subfolder_with_the_app/app.R
Original file line number Diff line number Diff line change
Expand Up @@ -1760,7 +1760,7 @@ observeEvent({feat$counter}, {
pattern = input$inSurveyID),
pattern = "counts.csv", value = T),
pattern = "SURVEYS_and_COUNTERS|Box|ERROR|SIC_", inv=T, value=T)
pairs.stn <- sub("*_(.*?) *_.*", "_\\1", sub(paste0(".*", input$inSurveyID, "_ *(.*?) *_counts.*"), "\\1", pre.pairs))
pairs.stn <- sub("*_(.?) *_.*", "_\\1", sub(paste0(".*", input$inSurveyID, "_ *(.*?) *_counts.*"), "\\1", pre.pairs))
pairs <- as.data.frame(cbind("file" = as.character(pre.pairs), "st" = as.character(pairs.stn)))
pairs <- subset(pairs, st %in% unique(pairs$st[duplicated(pairs$st)])) # only if more than 1 counter has counted the station
pairs[,1:2] <- lapply(pairs[,1:2], as.character)
Expand Down

0 comments on commit ac9c13f

Please sign in to comment.