View source: R/biblio.search.R
lbsSearchDocuments | R Documentation |
Searches for documents meeting given criteria (e.g. document titles, documents' authors identifiers, number of citations, number of pages, publication years or document types).
lbsSearchDocuments( conn, titles.like = NULL, idAuthors = NULL, citations.expr = NULL, pages.expr = NULL, year.expr = NULL, documentTypes = NULL, alternativeId = NULL, surveyDescription = NULL )
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 |
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.
Integer vector of documents' identifiers matching given criteria.
lbsGetInfoAuthors
,
lbsSearchAuthors
,
lbsGetInfoDocuments
## Not run: conn <- dbBiblioConnect("Bibliometrics.db"); ## ... idd <- lbsSearchDocuments(conn, pages.expr=">= 400", year.expr="BETWEEN 1970 AND 1972"); lbsGetInfoDocuments(conn, idd); ## ... ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.