Learn R Programming

CITAN (version 2022.1.1)

lbsDeleteAllAuthorsDocuments: Delete all authors, documents and surveys from a Local Bibliometric Storage

Description

Deletes author, citation, document, and survey information from a Local Bibliometric Storage.

Usage

lbsDeleteAllAuthorsDocuments(conn, verbose = TRUE)

Arguments

conn

database connection object, see lbsConnect.

verbose

logical; TRUE to be more verbose.

Value

TRUE on success.

Details

For safety reasons, an SQL transaction opened at the beginning of the removal process is not committed (closed) automatically. You should do manually (or rollback it), see Examples below.

See Also

lbsClear, dbCommit, dbRollback

Examples

Run this code
# NOT RUN {
conn <- lbsConnect("Bibliometrics.db")
lbsDeleteAllAuthorsDocuments(conn)
dbCommit(conn)
## ...
lbsDisconnect(conn)
# }

Run the code above in your browser using DataLab