crypto_prices: Get current crypto currency prices

Description Usage Arguments Details Value Examples

Description

This will retrieve the current market prices from CoinMarketCap. Data gets refreshed every 5 minutes.

Usage

1
crypto_prices(coin = NULL, limit = 0, currency = NULL)

Arguments

coin

Token name, default is all, Default: NULL

limit

Return top n coins, default is all, Default: 0

currency

Convert into local currency. Must be one of "AUD", "BRL", "CAD", "CHF", "CLP", "CNY", "CZK", "DKK", "EUR", "GBP", "HKD", "HUF", "IDR", "ILS", "INR", "JPY", "KRW", "MXN", "MYR", "NOK", "NZD", "PHP", "PKR", "PLN", "RUB", "SEK", "SGD", "THB", "TRY", "TWD", "ZAR", Default: NULL

Details

Updated every 5 minutes

Value

Will provide data frame of current prices

Examples

1
2
3
{
kin_price <- crypto_prices("kin")
}

JesseVent/crypto documentation built on May 12, 2019, 8:40 a.m.