lbsSearchDocuments {CITAN} | R Documentation |
Find documents that satisfy given criteria
Description
Searches for documents meeting given criteria (e.g. document titles, documents' authors identifiers, number of citations, number of pages, publication years or document types).
Usage
lbsSearchDocuments(
conn,
titles.like = NULL,
idAuthors = NULL,
citations.expr = NULL,
pages.expr = NULL,
year.expr = NULL,
documentTypes = NULL,
alternativeId = NULL,
surveyDescription = NULL
)
Arguments
conn |
connection object, see |
titles.like |
character vector of SQL-LIKE patterns to match documents' titles or |
idAuthors |
numeric or integer vector with author identifiers (see column |
citations.expr |
expression determining the desired number of citations or |
pages.expr |
expression determining the desired number of pages or |
year.expr |
expression determining the desired publication year or |
documentTypes |
character vector or |
alternativeId |
character vector of documents' AlternativeIds. |
surveyDescription |
single character string or |
Details
titles.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.
The expressions passed as
parameters citations.expr
, pages.expr
, year.expr
must be acceptable by SQL WHERE clause in the form
WHERE field <expression>
, see Examples below.
Value
Integer vector of documents' identifiers matching given criteria.
See Also
lbsGetInfoAuthors
,
lbsSearchAuthors
,
lbsGetInfoDocuments
Examples
## Not run:
conn <- dbBiblioConnect("Bibliometrics.db");
## ...
idd <- lbsSearchDocuments(conn, pages.expr=">= 400",
year.expr="BETWEEN 1970 AND 1972");
lbsGetInfoDocuments(conn, idd);
## ...
## End(Not run)