powered by
Extract historic Price of Bitcoin for the given time period and given currency
get_historic_price(currency = "USD", start = Sys.Date() - 2, end = Sys.Date() - 1)
a valid ISO 4217 currency code supported by coindesk - verify with get_currency_list(), default is USD
start date supplied in the YYYY-MM-DD format, e.g. 2013-09-01 for September 1st, 2013. default is current date - 2
end date supplied in the YYYY-MM-DD format, e.g. 2013-09-01 for September 1st, 2013. default is current date - 1
Dataframe with the requested currency Price as one column and Date as rownames
# NOT RUN { get_historic_price() # }
Run the code above in your browser using DataLab