Learn R Programming

CITAN (version 2015.12-2)

lbsSearchAuthors: Find authors that satisfy given criteria

Description

Finds authors by name.

Usage

lbsSearchAuthors(conn, names.like = NULL, group = NULL)

Arguments

conn

connection object, see lbsConnect.

names.like

character vector of SQL-LIKE patterns to match authors' names.

group

character vector of author group identifiers.

Value

Integer vector of authors' identifiers which match at least one of given SQL-LIKE patterns.

Details

names.like is a set of search patterns in an SQL LIKE format, i.e. an underscore _ matches a single character and a percent sign % matches any set of characters. The search is case-insensitive.

See Also

lbsGetInfoAuthors, lbsSearchDocuments, lbsGetInfoDocuments, lbsFindDuplicateAuthors

Examples

Run this code
# NOT RUN {
conn <- dbBiblioConnect("Bibliometrics.db");
## ...
id <- lbsSearchAuthors(conn, c("Smith\%", "Knuth D.E.", "V_n \%"));
lbsGetInfoAuthors(conn, id);
## ...
# }

Run the code above in your browser using DataLab