Skip to content

Commit

Permalink
leave first import column
Browse files Browse the repository at this point in the history
  • Loading branch information
stangandaho committed Sep 28, 2024
1 parent 3a67526 commit c4d5e20
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions inst/nimo/server.R
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,10 @@ server <- function(input, output, session) {
species_data <- reactive({
if (is.null(input$start_modeling) && input$import_data_check == TRUE) {
req(data_file_path())
data <- read.csv(file = data_file_path(), header = TRUE) %>%
dplyr::select(-1)
data <- read.csv(file = data_file_path(), header = TRUE)
} else if (input$start_modeling == 1 && input$import_data_check == TRUE) {
req(data_file_path())
data <- read.csv(file = data_file_path(), header = TRUE) %>%
dplyr::select(-1)
data <- read.csv(file = data_file_path(), header = TRUE)
} else if (input$start_modeling == 1 && input$import_data_check == FALSE) {
data <- gbif_data()[[1]]
}
Expand Down

0 comments on commit c4d5e20

Please sign in to comment.