Corrección de la función de importar NHC de excel.

This commit is contained in:
Costa
2022-03-04 17:46:37 +01:00
parent 022a222ddf
commit a8ca15592e
+2 -1
View File
@@ -89,10 +89,11 @@ server <- function(input, output) {
if (!is.null(input$file_query)){ if (!is.null(input$file_query)){
## Importamos los NHC de las muestras nuevas ## Importamos los NHC de las muestras nuevas
values[["Excel"]]<-read.xlsx(input$file_query$datapath, sheet = "NHC") %>% pull(NHC) %>% as.character() values[["Excel"]]<-read.xlsx(input$file_query$datapath, sheet = "NHC") %>% pull(NHC) %>% as.character()
print(values[["Excel"]])
} }
}) })
observeEvent(input$impNHC, { observeEvent(input$impNHC, {
values[["DF"]]$NHC<-values[["Excel"]] values[["DF"]]<-merge(values[["DF"]], data.frame("NHC"=values[["Excel"]]), all.y=T)
}) })
## Handsontable ## Handsontable