Skip to contents

Adapts a data frame of EpiBibR references to the conventions of the bibliometrix package. In bibliometrix, the ID column holds keywords (for PubMed, the MeSH terms), while EpiBibR stores the PubMed ID there. This function:

  • moves the PubMed ID to a PMID column (it is also in UT);

  • puts the MeSH terms in ID, optionally without the check tags (e.g. HUMANS, FEMALE) and the terms that restate the search (e.g. COVID-19, SARS-COV-2), which appear in most records and hide the topics;

  • adds the short reference label SR ("FIRST AUTHOR, YEAR, JOURNAL") that bibliometrix uses to name documents.

Usage

EpiBib_to_bibliometrix(data, drop_generic = TRUE, drop_terms = NULL)

Arguments

data

Data frame from an EpiBibR function.

drop_generic

If TRUE (the default), leave the check tags and the search terms out of ID.

drop_terms

Other MeSH terms to leave out of ID.

Value

data, ready for bibliometrix functions such as biblioAnalysis(), biblioNetwork() or thematicMap().

Examples

# \donttest{
M <- EpiBib_to_bibliometrix(EpiBib_title("long covid", years = 2021))
head(M$ID)
#> [1] "COHORT STUDIES;COMORBIDITY;HOSPITALIZATION;UNITED KINGDOM;POST-ACUTE COVID-19 SYNDROME"
#> [2] "CHRONIC DISEASE;PATIENTS;TERMINOLOGY AS TOPIC;UNITED KINGDOM;UNITED STATES"            
#> [3] "DISEASE MANAGEMENT;GLOBAL HEALTH;MORBIDITY;SURVIVAL RATE"                              
#> [4] "FATIGUE;LONGITUDINAL STUDIES;POST-ACUTE COVID-19 SYNDROME"                             
#> [5] "COHORT STUDIES;MORBIDITY;RECOVERY OF FUNCTION;SURVIVORS;POST-ACUTE COVID-19 SYNDROME"  
#> [6] "COVID-19 TESTING;POST-ACUTE COVID-19 SYNDROME"                                         
# }