convert2df {bibliometrix} | R Documentation |
Import and Convert bibliographic export files and API objects.
Description
It converts a SCOPUS, Clarivate Analytics WoS, Dimensions, Lens.org, PubMed and COCHRANE Database export files or pubmedR and dimensionsR JSON/XML objects into a data frame, with cases corresponding to articles and variables to Field Tags as used in WoS.
Usage
convert2df(
file,
dbsource = "wos",
format = "plaintext",
remove.duplicates = TRUE
)
Arguments
file |
a character array containing a sequence of filenames coming from WoS, Scopus, Dimensions, Lens.org, and Pubmed. Alternatively,
| ||||||||||||||||||||||||
dbsource |
is a character indicating the bibliographic database. | ||||||||||||||||||||||||
format |
is a character indicating the SCOPUS, Clarivate Analytics WoS, and other databases export file format. | ||||||||||||||||||||||||
remove.duplicates |
is logical. If TRUE, the function will remove duplicated items checking by DOI and database ID. |
Value
a data frame with cases corresponding to articles and variables to Field Tags in the original export file.
I.e We have three files download from Web of Science in plaintext format, file will be:
file <- c("filename1.txt", "filename2.txt", "filename3.txt")
data frame columns are named using the standard Clarivate Analytics WoS Field Tag codify. The main field tags are:
AU | Authors | |
TI | Document Title | |
SO | Publication Name (or Source) | |
JI | ISO Source Abbreviation | |
DT | Document Type | |
DE | Authors' Keywords | |
ID | Keywords associated by SCOPUS or WoS database | |
AB | Abstract | |
C1 | Author Address | |
RP | Reprint Address | |
CR | Cited References | |
TC | Times Cited | |
PY | Year | |
SC | Subject Category | |
UT | Unique Article Identifier | |
DB | Database |
for a complete list of field tags see: Field Tags used in bibliometrix
Examples
# Example:
# Import and convert a Web of Science collection form an export file in plaintext format:
## Not run:
files <- 'https://www.bibliometrix.org/datasets/wos_plaintext.txt'
M <- convert2df(file = files, dbsource = 'wos', format = "plaintext")
## End(Not run)