Reproducible bibliometric analysis
Source:vignettes/articles/reproducibleMaterial.Rmd
reproducibleMaterial.RmdEpiBibR was built to make bibliometric studies of coronavirus research quick to run and easy to reproduce (Warin, 2020). This article runs a complete study, from the question to the figures, with EpiBibR and bibliometrix (Aria and Cuccurullo, 2017). Every result on this page is computed when the site is built; run the code to get the same analysis on the current data.
The question: what does the research on Long COVID look like? Who works on it, with whom, and on which themes?
1. Collect the references
Long COVID has several names. We search the titles for the usual ones, from 2020 on:
terms <- "long covid|long-covid|post-covid|post-acute sequelae|post-acute covid|postacute"
lc <- EpiBib_title(terms, years = 2020:as.integer(format(Sys.Date(), "%Y")))
nrow(lc)
#> [1] 11961
table(lc$PY)
#>
#> 2020 2021 2022 2023 2024 2025 2026
#> 256 1062 2043 2390 2399 2153 1658Searching the titles finds the references about Long COVID.
To also find those that only mention it, search titles and abstracts
live on PubMed with
EpiBib_abstract('"long covid" OR "post-covid"', years = 2020:2025).
2. Make it reproducible
EpiBibR’s data are rebuilt every month from PubMed, where references are added and corrected every day. To reproduce a study exactly, record the date of the data and save the references you used:
data_date <- max(EpiBib_years()$updated)
data_date
#> [1] "2026-11-27"
saveRDS(lc, "long_covid_references.rds") # the exact data of the study
writeLines(capture.output(sessionInfo()), "session_info.txt")Publish the .rds file with your code (for instance on
Zenodo or OSF): it contains citation data only, which NLM allows to
redistribute with the credit courtesy of the U.S. National Library
of Medicine. Do not publish abstracts retrieved with
EpiBib_add_abstracts(): they may be protected by
copyright.
3. Describe the literature
EpiBibR’s charts work on any subset:
EpiBib_plot_growth(lc, from = 2020)
EpiBib_plot_countries(lc, top = 12)
EpiBib_plot_journals(lc, top = 12)
4. Bibliometric indicators
EpiBib_to_bibliometrix() adapts the data to
bibliometrix: it puts the MeSH terms in the ID column,
where bibliometrix expects keywords, without the check tags (HUMANS,
FEMALE…) and the search terms (COVID-19, SARS-COV-2) that appear in most
records. Here we also drop “POST-ACUTE COVID-19 SYNDROME”, which is the
subject of every reference.
M <- EpiBib_to_bibliometrix(lc, drop_terms = "POST-ACUTE COVID-19 SYNDROME")
results <- biblioAnalysis(M, sep = ";")
S <- summary(results, k = 10, pause = FALSE, verbose = FALSE)The main indicators:
info <- S$MainInformationDF
keep <- c("Timespan", "Sources (Journals, Books, etc)", "Documents", "Annual Growth Rate %",
"Authors", "Single-authored docs", "Co-Authors per Doc", "Author's Keywords (DE)",
"Keywords Plus (ID)")
info <- info[trimws(info$Description) %in% keep, ]
info$Description[trimws(info$Description) == "Keywords Plus (ID)"] <- "MeSH terms (ID)"
knitr::kable(info, row.names = FALSE, col.names = c("Indicator", "Value"))| Indicator | Value |
|---|---|
| Timespan | 2020:2026 |
| Sources (Journals, Books, etc) | 2747 |
| Documents | 11961 |
| Annual Growth Rate % | 36.53 |
| MeSH terms (ID) | 4510 |
| Author’s Keywords (DE) | 15945 |
| Authors | 57013 |
| Single-authored docs | 865 |
| Co-Authors per Doc | 7.87 |
Citation indicators are missing: PubMed does not count citations. For
citations, match the DOIs (DI column) with a citation
database such as OpenAlex.
The most productive authors and journals:
| Author | References |
|---|---|
| FERNÁNDEZ-DE-LAS-PEÑAS C | 118 |
| WANG Y | 82 |
| ZHANG Y | 81 |
| PELUSO MJ | 78 |
| LI Y | 71 |
| CHEN Y | 67 |
| WANG J | 58 |
| LI J | 56 |
| ARENDT-NIELSEN L | 54 |
| WANG X | 54 |
| Journal | References |
|---|---|
| CUREUS | 264 |
| JOURNAL OF CLINICAL MEDICINE | 238 |
| SCIENTIFIC REPORTS | 219 |
| PLOS ONE | 200 |
| INTERNATIONAL JOURNAL OF ENVIRONMENTAL RESEARCH AND PUBLIC HEALTH | 160 |
| FRONTIERS IN IMMUNOLOGY | 137 |
| BMJ OPEN | 131 |
| FRONTIERS IN PUBLIC HEALTH | 127 |
| FRONTIERS IN MEDICINE | 114 |
| MEDRXIV : THE PREPRINT SERVER FOR HEALTH SCIENCES | 98 |
Authors are listed as PubMed gives them, surname and initials, so namesakes are counted together: check the top names before drawing conclusions about individuals.
5. International collaboration
AU_CO gives the first author’s country. To see
collaborations, bibliometrix finds the countries of all
the authors’ affiliations:
Mc <- metaTagExtraction(M, Field = "AU_CO", sep = ";")
n_countries <- vapply(strsplit(Mc$AU_CO, ";"), function(x) length(unique(na.omit(x))), 1)
collab <- tapply(n_countries >= 2, Mc$PY, mean)
round(100 * collab, 1)
#> 2020 2021 2022 2023 2024 2025 2026
#> 11.7 15.3 17.5 17.5 16.3 18.5 16.717.0% of the references on Long COVID have authors from two or more
countries. bibliometrix’s biblioNetwork() counts, for each
pair of countries, the references they co-sign. The most frequent
pairs:
net <- biblioNetwork(Mc, analysis = "collaboration", network = "countries", sep = ";")
m <- as.matrix(net)
diag(m) <- 0
m[lower.tri(m)] <- 0
idx <- which(m > 0, arr.ind = TRUE)
pairs <- data.frame(pair = paste(toupper(rownames(m)[idx[, 1]]), "–", toupper(colnames(m)[idx[, 2]])),
n = m[idx])
pairs <- utils::head(pairs[order(-pairs$n), ], 15)
pairs$pair <- factor(pairs$pair, levels = rev(pairs$pair))
library(ggplot2)
ggplot(pairs, aes(n, pair)) +
geom_col(fill = "#2a78d6", width = 0.7) +
geom_text(aes(label = n), hjust = -0.2, size = 3.1, colour = "#52514e") +
scale_x_continuous(expand = expansion(mult = c(0, 0.1))) +
labs(title = "Countries that co-sign Long COVID research",
subtitle = "References with authors from both countries (all affiliations)",
x = "References", y = NULL,
caption = "Source: PubMed, courtesy of the U.S. National Library of Medicine.") +
theme_epibib() +
theme(panel.grid.major.y = element_blank(), axis.line.x = element_blank())
For a network view,
networkPlot(net, n = 25, type = "fruchterman", cluster = "louvain")
draws the same links as a graph. bibliometrix reads countries from
affiliations written in many formats, so some are missed: treat the
figures as orders of magnitude.
6. Themes
A thematic map (Cobo et al., 2011) groups MeSH terms that appear together into themes, and places each theme by its centrality (how linked it is to the other themes) and its density (how developed it is internally):
tm <- thematicMap(M, field = "ID", n = 250, minfreq = 5, stemming = FALSE,
size = 0.5, n.labels = 3, repel = TRUE)
tm$map
cl <- tm$clusters[order(-tm$clusters$freq), c("name", "freq", "rcentrality", "rdensity")]
knitr::kable(cl, col.names = c("Theme", "Occurrences", "Centrality rank", "Density rank"))| Theme | Occurrences | Centrality rank | Density rank |
|---|---|---|---|
| risk factors | 3972 | 7 | 2 |
| quality of life | 3483 | 6 | 6 |
| depression | 2129 | 5 | 3 |
| biomarkers | 1871 | 4 | 5 |
| qualitative research | 1236 | 3 | 4 |
| covid-19 drug treatment | 321 | 2 | 1 |
| olfaction disorders | 159 | 1 | 7 |
- Motor themes (top right) are central and developed: they structure the field.
- Basic themes (bottom right) are central but less developed: the field’s general ground.
- Niche themes (top left) are developed but isolated.
- Emerging or declining themes (bottom left) are neither.
7. Abstracts (optional)
For text analyses, EpiBib_add_abstracts() retrieves the
abstracts live from PubMed (they are not redistributed with
EpiBibR):
sample_refs <- EpiBib_add_abstracts(lc[lc$PY == 2021, ][1:50, ])
mean(!is.na(sample_refs$AB))
#> [1] 0.46Here, 46% of the references have an abstract (letters and editorials usually do not). Keep abstracts for your own analyses: they may be protected by copyright.
8. With biblioshiny
biblioshiny is the point-and-click interface of bibliometrix. Save the prepared data, then load them in biblioshiny:
save(M, file = "long_covid.RData") # biblioshiny expects an object named M
biblioshiny()
# In biblioshiny, open the Data menu and load "long_covid.RData" as a
# bibliometrix file.References
- Aria, M. and Cuccurullo, C. (2017). bibliometrix: An R-tool for comprehensive science mapping analysis. Journal of Informetrics, 11(4), 959-975. https://doi.org/10.1016/j.joi.2017.08.007
- Cobo, M. J., López-Herrera, A. G., Herrera-Viedma, E. and Herrera, F. (2011). An approach for detecting, quantifying, and visualizing the evolution of a research field: A practical application to the Fuzzy Sets Theory field. Journal of Informetrics, 5(1), 146-166. https://doi.org/10.1016/j.joi.2010.10.002
- Warin, T. (2020). Global Research on Coronaviruses: An R Package. Journal of Medical Internet Research, 22(8), e19615. https://doi.org/10.2196/19615
- Warin, T. (2021). Global Research on Coronaviruses: Metadata-Based Analysis for Public Health Policies. JMIR Medical Informatics, 9(11), e31510. https://doi.org/10.2196/31510
Data: PubMed, courtesy of the U.S. National Library of Medicine, as of 2026-11-27.