knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)
## no scientific notation
options(scipen = 999)

rcoincap

Lifecycle: experimental CRAN status

R Package for Querying Cryptocurrency Data from the CoinCap API

Installation

You can install the development version of rcoincap from GitHub with:

# install.packages("devtools")
devtools::install_github("southernt/rcoincap")

Examples

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()


southernt/rcoincap documentation built on May 21, 2022, 12:09 a.m.