How to merge Web of Science and Scopus for Biblioshiny without writing R code
In bibliometrix, the documented way to merge Web of Science and Scopus is the R function mergeDbSources, which needs R code. If you prefer not to write code, you can merge the exports with BibexPy and import its Web of Science plain-text file into Biblioshiny the way you would import any Web of Science export. This page explains both routes and their trade-offs.
The R route: mergeDbSources
The bibliometrix reference manual describes mergeDbSources(..., remove.duplicated = TRUE, verbose = TRUE). It merges bibliographic data frames from different databases (Web of Science, Scopus, Lens, OpenAlex and others) into one. The data frames come from convert2df. The documentation says the function merges data frames identifying common tag fields and duplicated records. It does not state which fields are used to detect duplicates.
bibliometrix itself reads files from Web of Science, Scopus, Dimensions, The Lens, PubMed and Cochrane Library.
A documented limitation for citation analyses
When a collection comes from more than one database, the manual says the cited references field CR is renamed CR_raw and CR is emptied. The reason given is that each database formats references differently.
The documented consequence is that reference-based analyses are not available on a multi-database merged collection. These are co-citation, bibliographic coupling (biblioNetwork), histNetwork and local citation counts. Analyses that do not rely on CR are unaffected. This covers authors, sources, keywords, affiliations, countries, collaboration and co-word analysis. The manual advises running citation analyses on single-database collections before merging.
This is documented behavior, stated here neutrally. If your study does not need those citation-based analyses, it may not matter to you. The source is the mergeDbSources entry in the bibliometrix reference manual on CRAN.
The no-code route: BibexPy
BibexPy is a data preparation tool. It does not replace bibliometrix and does not offer its analyses. It prepares one file that you then analyze in Biblioshiny.
- Export from Web of Science as a plain text file with Full Record and Cited References.
- Export from Scopus as CSV with all available information.
- Install BibexPy with pip install bibexpy and start it with python -m bibexpy. It needs Python 3.10 or newer and runs in your browser on your own machine. You type two commands, but you write no analysis code.
- Create a project and upload both files. Several files from the same database are fine.
- Press Start Smart Merge. BibexPy reports the counts per source, the duplicates found and the final unique records.
- Optionally review the uncertain pairs.
- Export WoS plain text (.txt). This is the format recommended for VOSviewer, Biblioshiny and CiteSpace.
- Import that file into Biblioshiny or bibliometrix like any Web of Science export.
This page does not describe Biblioshiny's own menus. Follow the bibliometrix documentation for importing a Web of Science file.
How BibexPy handles cited references
Smart Merge compares records in stages. Two records with different DOIs are never merged. Pairs with the same DOI or PubMed ID are matched first. Without an identifier, a pair is merged when the titles are at least 0.92 similar (Jaro-Winkler), the publication years differ by at most one and the first-author surnames match, or when journal, volume and pages agree. Pairs with a title similarity between 0.80 and 0.92 are not merged automatically; they go to the optional Uncertain Pairs review. Details are in the Smart Merge deep dive.
After merging, BibexPy rewrites Scopus-style cited references into Web of Science reference format and recounts the reference number. The aim is that bibliometrix can match citations in the rows that came from Scopus.
Field conflicts are settled by fixed rules based on Caputo and Kargina (2022) and Kasaraneni and Rosaline (2024). Web of Science is preferred for times cited and cited references. Scopus is preferred for abstracts, authors and affiliations. Keywords are combined. Every decision is logged, and the app writes an operation report and a methods paragraph.
Which route to pick
- If you already work in R and do not need citation-based analyses on the merged set, mergeDbSources is a reasonable choice.
- If you want to prepare a merged set without writing code, BibexPy is built for that, and it rewrites cited references into one format.
- If you only need the merge and do not want to install anything, BibexPy-Lite runs the same Smart Merge matching in Google Colab or a terminal. See BibexPy-Lite.
For a side-by-side view, read Ways to merge Web of Science and Scopus data, compared.
Watch it
See the Smart Merge episode and the Export episode. Related docs: Step 1: Data and Merge, Export formats, installation.
Cite
If you use BibexPy, please cite: Kara, B. C., Şahin, A., & Dirsehan, T. (2025). BibexPy: Harmonizing the bibliometric symphony of Scopus and Web of Science. SoftwareX, 30, 102098. https://doi.org/10.1016/j.softx.2025.102098
