Learn R Programming

bibliometrix (version 2.3.2)

bib2df: Convert a bibtex file into a data frame

Description

It is an internal function used by convert2df to convert a bibtex file and create a data frame from it, with cases corresponding to articles and variables to Field Tag in the original file.

Usage

bib2df(D, dbsource = "isi")

Arguments

D

is a character array containing bibliographic data in bibtex format.

dbsource

is a character indicating the bibliographic database. dbsource can be "isi", "scopus" or generic. Default is dbsource = "isi".

Value

a data frame with cases corresponding to articles and variables to Field Tag in the original SCOPUS file.

See Also

isi2df for converting ISI Export file (in plain text format)

Other converting functions: cochrane2df, convert2df, dimensions2df, isi2df, isibib2df, pubmed2df, scopus2df

Examples

Run this code
# NOT RUN {
# A ISI Export file can be read using \code{\link{readLines}} function:

# largechar <- readFiles('filename1.bib','filename2.bib2,...)

# filename.bib is a bibtex file in plain text format.

# largechar <- readFiles('http://www.bibliometrix.org/datasets/ranking.bib')

# ranking <- bib2df(largechar)

# }

Run the code above in your browser using DataLab