Corregir lectura de fechas en excel.
This commit is contained in:
1 parent
dde77d987c
commit
bdbd8edf9d
1 file changed
+2
-1
+2
-1
@@ -347,7 +347,8 @@ server <- function(input, output) {
|
||||
analysis$taula_vol<-NULL
|
||||
observe({
|
||||
if (!is.null(input$file_analy)){
|
||||
table<-read.xlsx(input$file_analy$datapath, sheet = 1, check.names = F, sep.names = " ")
|
||||
table<-read.xlsx(input$file_analy$datapath, sheet = 1, check.names = F, sep.names = " ", detectDates = T)
|
||||
table$Date<-format(table$Date, format="%d/%m/%Y")
|
||||
if ("sex" %in% colnames(table)){table<-select(table, -sex)}
|
||||
table$Long<-gsub(",",".", table$Long)
|
||||
table$Wide<-gsub(",",".", table$Wide)
|
||||
|
||||
Reference in new issue
Block a user