knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", message = FALSE, warning = FALSE, error = FALSE, tidy = TRUE )
The rockchain
package provides simple interfaces to coinmarketcap.com ticker and market cap data and blockchain.info ticker and Bitcoin wallet data. The current package does not yet support additional blockchain APIs, but will in the future. For now, it offers cryptocurrency market data retrieval and Bitcoin wallet transaction data retrieval via the two currently available APIs.
You can install rockchain from github with:
# install.packages("devtools") devtools::install_github("leonawicz/rockchain")
library(rockchain) cap() w <- wallet("115p7UMMngoj1pMvkpHijcRdfJNXj6LrLn") balance(w)
For more details see the vignette.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.