bhl_authorsearch: Return a list of authors that match (fully or partially) the...

Description Usage Arguments Examples

View source: R/bhl_authorsearch.R

Description

The namessearched are those contained in MARC 100a, 110a, 111a, 700a, 710a, and 711a library records.

Usage

1
bhl_authorsearch(name = NULL, as = "table", key = NULL, ...)

Arguments

name

full or partial name of the author for which to search (last name listed first, i.e. 'Darwin, Charles') (character)

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

Examples

1
2
3
4
5
## Not run: 
bhl_authorsearch(name='dimmock')
bhl_authorsearch(name='Jones')

## End(Not run)

ropensci/rbhl documentation built on Oct. 26, 2018, 7:16 p.m.