R Package for the BitCoinCharts.com API

Introduction | Examples | GitHub | CRAN

Help us help you: Take a short survey!


Bitcoincharts provides financial and technical data related to the Bitcoin network and this data can be accessed via a JSON application programming interface (API). This JSON api, the details of which can be found here, makes working with Bitcoin Charts data in R straightforward and we have developed a package in R to facilitate this — see the API usage examples below.


library (rbitcoinchartsapi)
weightedPrices <- GetWeightedPrices ()
marketDataParams <- list (currency=USD)
usd <- GetMarketData (marketDataParams)
historicTradeDataParams <- list (symbol=btceUSD)
historicTradeData <- GetHistoricTradeData (historicTradeDataParams)
head (historicTradeData)

R Bitcoin Charts API Example

11 May 2014