Return a list of parts (articles, chapters, etc) associated with a given BHL author identifier. Unless the identifier for a particular BHL author record is known in advance, this method should be used in combination with the AuthorSearch method.

Share:

Description

Note: haven't seen examples for this function that work yet...

Usage

1
bhl_getauthorparts(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_getauthorparts(147)
# bhl_getauthorparts(39120, as='json')
# bhl_getauthorparts(39120, as='xml')
# bhl_getauthorparts(39120, as='list')

## End(Not run)

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