Error:duplicate 'row.names' are not allowed
I gathered data from various sources, but it contained several inaccuracies. After validating and correcting the data, I saved it in the Bibliometrix format. However, when attempting to upload the file, I encountered an error.
duplicate 'row.names' are not allowed
Same issue but in an operation on R console with thematicEvolution. Any answer to this issue? Thanks in advance!
Same issue but in an operation on R console with thematicEvolution. Any answer to this issue? Thanks in advance!
Operative System: Windows 10 R Version 4.4.1 Bibliometrix Version: 4.3.0
I have used the function convert2df firstly and after that mergeDbSources, and then gives me that error. I have also tried with mergeDbSources instead of bind_rows and also gives me an error.
Thanks!
Encountered similar issue. I have several files downloaded from wos and combined the convert2df:
data<-lapply(file_paths, convert2df, dbsource = "wos", format = "plaintext") wos_data <- do.call(rbind, data)
biblioAnalysis(wos_data_final,sep = ";") works fine but when it comes to cocMatrix(wos_data, Field = "SO", sep = ";") it keeps showing the duplicated rownames error:
Error in .rowNamesDF<-(x, value = value) :
duplicate 'row.names' are not allowed
Your code is not correct.
To import more than one file, you just need to pass a string with all the file names and paths to the convert2df function:
wos_data <- convert2df(file_paths, dbsource = "wos", format = "plaintext")