knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" ) ## no scientific notation options(scipen = 999)
R Package for Querying Cryptocurrency Data from the CoinCap API
You can install the development version of rcoincap from GitHub with:
# install.packages("devtools") devtools::install_github("southernt/rcoincap")
Basic usage examples:
library(rcoincap)
Available Assets
coincap_assets()
Map between coin names and ticker symbols.
coincap_nm_to_symbol("bitcoin") coincap_symbol_to_nm("btc")
Available granularities for historical data.
gran_vctr <- coincap_granularities() names(gran_vctr)
Query available markets (exchanges).
coincap_markets()
Query OHLC data.
coincap_ohlc()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.