View source: R/bhl_subjectmetadata.R
bhl_subjectmetadata | R Documentation |
Get metadata about a subject
bhl_subjectmetadata(subject, pubs = FALSE, as = "table", key = NULL, ...)
subject |
(character) he subject for which to return metadata |
pubs |
(logical) |
as |
(character) Return a list ("list"), json ("json"), xml ("xml"),
or parsed table ("table", default). Note that |
key |
Your BHL API key, either enter, or loads from your |
... |
Curl options passed on to |
You may choose to include a list of the subject's publications. The BHLType element identifies the type of each publication (Title or Part).
## Not run: bhl_subjectmetadata(subject = "water") x <- bhl_subjectmetadata(subject = "water", pubs = TRUE) head(x$Publications[[1]]) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.