bhl_authorsearch: Author search

Description Usage Arguments Details Examples

View source: R/bhl_authorsearch.R

Description

Return a list of authors that match (fully or partially) the specified search string.

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

Details

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

Examples

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

## End(Not run)

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