blockwatch.series.get: Internal method to retrieve data from a Blockwatch time...

Description Usage Arguments Value See Also Examples

View source: R/Blockwatchseries.R

Description

Internal method to retrieve data from a Blockwatch time series endpoint

Usage

1
blockwatch.series.get(code, params)

Arguments

code

Dataset code on Blockwatch specified as a string.

params

A list of parameters to be passed to the Blockwatch API. Please see https:/blockwatch.cc/docs/api#retrieve-data-and-metadata for a full list of parameters.

Value

Returns a data.frame of the requested data

See Also

blockwatch.api_key, blockwatch.table

Examples

1
2
3
4
5
## Not run: 
data = blockwatch.series.get("TRADE/BITFINEX_BTC_USD", list(limit=5))
plot(data[,1])

## End(Not run)

blockwatch-cc/blockwatch-r documentation built on May 13, 2020, 4:06 p.m.