bhl_publicationsearchadv: Publication search advanced

View source: R/bhl_publicationsearch.R

bhl_publicationsearchadvR Documentation

Publication search advanced

Description

Publication search advanced

Usage

bhl_publicationsearchadv(
  title = NULL,
  titleop = NULL,
  authorname = NULL,
  year = NULL,
  subject = NULL,
  language = NULL,
  collection = NULL,
  notes = NULL,
  notesop = NULL,
  text = NULL,
  textop = NULL,
  page = NULL,
  as = "table",
  key = NULL,
  ...
)

Arguments

title

(character) a title for which to search

titleop

(character) 'all' to search for all specified words in the title fields; 'phrase' to search for the exact phrase specified

authorname

(character) an author name for which to search

year

(integer) a four-digit publication year for which to search

subject

(character) a subject for which to search

language

(character) a language code; search will only return publications in the specified language

collection

(character) a collection id; search will only return publications from the specfied collection

notes

(character) one or more words for which to search in the publication notes

notesop

(character) 'all' to search for all specified words in the notes field; 'phrase' to search for the exact phrase specified

text

(character) one or more words for which to search in the text of the publications

textop

(character) 'all' to search for all specified words in the text field; 'phrase' to search for the exact phrase specified

page

(integer) 1 for the first page of results, 2 for the second, and so on

as

(character) Return a list ("list"), json ("json"), xml ("xml"), or parsed table ("table", default). Note that as="table" can give different data format back depending on the function - for example, sometimes a data.frame and sometimes a character vector.

key

Your BHL API key, either enter, or loads from your .Renviron as BHL_KEY or from .Rprofile as bhl_key.

...

Curl options passed on to crul::HttpClient()

See Also

Other publication-search: bhl_publicationsearch()

Examples

## Not run: 
bhl_publicationsearchadv(title = "cocos island", titleop = "all",
  authorname = "gifford", year = 1919)
bhl_publicationsearchadv(title = "cocos island", authorname = "gifford")

## End(Not run)

ropensci/rbhl documentation built on Sept. 12, 2022, 2:02 p.m.