CITAN (version 2011.08-1)

lbsClear: Clear a Local Bibliometric Storage

Description

Clears a Local Bibliometric Storage by dropping all tables named Biblio_* and all views named ViewBiblio_*.

Usage

lbsClear(conn, verbose=TRUE)

Arguments

conn
a connection object as produced by lbsConnect.
verbose
logical; TRUE to inform about 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

lbsConnect, lbsCreate, Scopus_ImportSources, lbsDeleteAllAuthorsDocuments dbCommit, dbRollback

Examples

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

Run the code above in your browser using DataCamp Workspace