bhl_getitemparts: Return a list of an item's parts.

Description Usage Arguments Examples

View source: R/bhl_getitemparts.R

Description

Return a list of an item's parts.

Usage

1
bhl_getitemparts(itemid, as = "table", key = NULL, ...)

Arguments

itemid

the item id (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
6
## Not run: 
bhl_getitemparts(35600)
bhl_getitemparts(35600, 'json')
bhl_getitemparts(35600, 'xml')

## End(Not run)

rbhl documentation built on May 29, 2017, 11:08 a.m.

Search within the rbhl package
Search all R packages, documentation and source code