Skip to content

Commit

Permalink
Update server.R
Browse files Browse the repository at this point in the history
  • Loading branch information
massimoaria authored Jan 9, 2023
1 parent 0c09664 commit 5e3c37c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions inst/biblioshiny/server.R
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,9 @@ server <- function(input, output,session){
switch(ext,
### excel format
xlsx={
M <- readxl::read_excel(inFile$datapath) %>% as.data.frame(stringsAsFactors=FALSE)
M <- readxl::read_excel(inFile$datapath, col_types = "text") %>% as.data.frame(stringsAsFactors=FALSE)
M$PY <- as.numeric(M$PY)
M$TC <- as.numeric(M$TC)
class(M) <- c("bibliometrixDB", "data.frame")
### M row names
### identify duplicated SRs
Expand Down Expand Up @@ -8035,4 +8037,4 @@ server <- function(input, output,session){



# END ####
# END ####

0 comments on commit 5e3c37c

Please sign in to comment.