get_current_price: Extract Bitcoin Price Index from Coindesk API

Description Usage Arguments Value Examples

View source: R/coindeskr.R

Description

Extract Bitcoin Price Index from Coindesk API

Usage

1
get_current_price(currency = "USD", only_price = FALSE)

Arguments

currency

a valid ISO 4217 currency code supported by coindesk - verify with get_currency_list(), default is USD

only_price

a TRUE/FALSE flag to force-return only the bitcoin price filtering other associated info

Value

dataframe containing Bitcoin Price and other associated info returned from the API call if only_price is FALSE, if TRUE, returns only the numeric value of Bitcoin price in the given currency

Examples

1

coindeskr documentation built on May 2, 2019, 3:43 a.m.