coindesk_download: Download the daily time series data of the CoinDesk Bitcoin...

View source: R/download_coindesk_bpi.R

coindesk_downloadR Documentation

Download the daily time series data of the CoinDesk Bitcoin Price Index (BPI).

Description

This function downloads the daily time series data of the CoinDesk Bitcoin Price Index (BPI), given a specified starting point and ending point.

Usage

coindesk_download(start = "2011-01-01", end = "2017-07-27")

Arguments

start

is the starting point of the required daily data sample

end

is the ending point of the required daily data sample

Value

a xts object containing the required historical daily data for the CoinDesk Bitcoin Price Index

Examples

xbp_data <- coindesk_download(start="2011-01-01",end="2017-07-27")

deanfantazzini/bitcoinFinance documentation built on June 12, 2024, 4:10 p.m.