Return a list of titles associated with a given BHL author identifier.

Share:

Description

Unless the identifier for a particular BHL author record is known in advance, this method should be used in combination with the AuthorSearch method.

Usage

1
bhl_getauthortitles(creatorid, as = "table", key = NULL, ...)

Arguments

creatorid

BHL identifier for a particular author (numeric)

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 GET

Examples

1
2
3
4
5
6
7
## Not run: 
bhl_getauthortitles(1970)
bhl_getauthortitles(1970, as='json')
bhl_getauthortitles(1970, as='xml')
bhl_getauthortitles(1970, as='list')

## End(Not run)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.