Learn R Programming

crypto (version 1.1.3)

crypto_timeseries: Daily crypto currency market data

Description

Retrieve time series of market_cap, price_btc, price_usd and volume of specified coin - perfect for charting or time series analysis.

Usage

crypto_timeseries(coin = NULL)

Arguments

coin

Name, symbol or slug of crypto currency

Value

Daily time series of token data in a dataframe:

timestamp

Timestamp (POSIXct)

market_cap

Market Cap in USD

price_btc

Price in BTC

price_usd

Price in USD

volume

Volume traded in USD

slug

Coin URL slug (unique)

Details

Most tokens are refreshed every 6 hours.. results may vary.

Examples

Run this code
# NOT RUN {
coin       <- 'kin'
kin_charts <- crypto_timeseries(coin)
# }

Run the code above in your browser using DataLab