lbsClear: Clear a Local Bibliometric Storage

Description Usage Arguments Details Value See Also Examples

View source: R/biblio.clear.R

Description

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

Usage

1
lbsClear(conn, verbose = TRUE)

Arguments

conn

database connection object, see lbsConnect.

verbose

logical; TRUE to be more verbose.

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.

Value

TRUE on success.

See Also

lbsConnect, lbsCreate, Scopus_ImportSources, lbsDeleteAllAuthorsDocuments dbCommit, dbRollback

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
conn <- lbsConnect("Bibliometrics.db");
lbsClear(conn);
dbCommit(conn);
lbsCreate(conn);
Scopus_ImportSources(conn);
## ...
lbsDisconnect(conn);
## End(Not run)

CITAN documentation built on May 2, 2019, 9:33 a.m.