bhl_publicationsearch: Publication search

Description Usage Arguments See Also Examples

View source: R/bhl_publicationsearch.R

Description

Publication search

Usage

1
2
3
4
5
6
7
8
bhl_publicationsearch(
  q = NULL,
  full_text = FALSE,
  page = NULL,
  as = "table",
  key = NULL,
  ...
)

Arguments

q

(character) the text for which to search

full_text

(character) TRUE for a catalog plus full-text search; FALSE for a catalog-only search. default: FALSE

page

(integer) page to return

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_publicationsearchadv()

Examples

1
2
3
4
5
6
## Not run: 
bhl_publicationsearch('cocos island costa rica birds')
bhl_publicationsearch('poa annua')
bhl_publicationsearch('helianthus annuus')

## End(Not run)

rbhl documentation built on May 13, 2021, 9:07 a.m.