Scopus_ReadCSV(filename, stopOnErrors = TRUE, dbIdentifier = "Scopus",
alternativeIdPattern = "^.*\\id=|\\&.*$", ...)
read.csv
.TRUE
to stop on all potential parse errors or just warn otherwise.NA
; database identifier, helps detect parse errors, see above.NA
to get the id as is,read.csv
.data.frame
containing the following 11 columns:
Authors
Author name(s), comma-separated, surnames first.
Title
Document title.
Year
Year of publication.
AlternativeId
Unique document identifier.
SourceTitle
Title of the source containing the document.
Volume
Volume.
Issue
Issue.
PageStart
Start page; numeric.
PageEnd
End page; numeric.
Citations
Number of citations; numeric.
DocumentType
Type of the document; see above.
}
The object returned may be imported into a local bibliometric storage via lbsImportDocuments
.read.csv
function is used to read the bibliography.
You may therefore freely modify its behavior
by passing further arguments (...
), see the manual page
of read.table
for details.The CSV file should consist at least of the following columns.
Authors
: Author name(s) (surname first; multiple names are comma-separated,
e.g.Title
: Document title,Year
: Year of publication,Source.title
: Source title, e.g. journal name,Volume
: Volume number,Issue
: Issue number,Page.start
: Start page number,Page.end
: End page number,Cited.by
: Number of citations received,Link
: String containing unique document identifier, by default of the form ...id=UNIQUE_ID&... (seealternativeIdPattern
parameter),Document.Type
: Document type, one of:NA
(other categories are treated asNA
s),Source
: Data source identifier, must be the same as thedbIdentifier
parameter value. It is used for parse errors detection.The CSV file to be read may, for example, be created by SciVerse Scopus
(Export format=comma separated file, .csv (e.g. Excel),
Output=Complete format or Citations only).
Note that the exported CSV file sometimes needs to be corrected by hand
(wrong page numbers, single double quotes in character strings instead of two-double quotes etc.).
We suggest to make the corrections in a
Scopus_ASJC
, Scopus_SourceList
,
lbsConnect
,
Scopus_ImportSources
,
read.table
, lbsImportDocuments
conn <- lbsConnect("Bibliometrics.db");
## ...
data <- Scopus_ReadCSV("db_Polish_MATH/Poland_MATH_1987-1993.csv");
lbsImportDocuments(conn, data, "Poland_MATH");
## ...
lbsDisconnect(conn);
Run the code above in your browser using DataCamp Workspace