CITAN (version 2011.08-1)

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

Description

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

Usage

lbsDeleteAllAuthorsDocuments(conn, verbose=TRUE)

Arguments

conn
a connection object as produced by lbsConnect.
verbose
logical; TRUE to print out the progress of database contents' removal.

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 it on your own (or rollback it), see Examples below.

See Also

lbsClear, dbCommit, dbRollback

Examples

Run this code
conn <- lbsConnect("Bibliometrics.db");
lbsDeleteAllAuthorsDocuments(conn);
dbCommit(conn);
## ...
dbDisconnect(conn);

Run the code above in your browser using DataLab