View source: R/download_data_bitcoincharts.R
bitcoincharts_single_download | R Documentation |
This function downloads a pre-specified bitcoin currency pair time series from api.bitcoincharts.com
bitcoincharts_single_download(
name = "bitstampUSD.csv.gz",
start_date = "2015-08-03",
end_date = "2017-07-01",
save_data = FALSE
)
name |
is the name of the file to be downloaded from api.bitcoincharts.com |
start_date |
this is the minimum starting date required |
end_date |
this is the maximum end date required |
save_data |
if TRUE, then the downloaded trades price series will be saved in the bitcoin_data.rds file (in the Working Directory) |
This function downloads a pre-specified bitcoin currency pair time series from api.bitcoincharts.com with a required minimum starting date and a required ending date
data is a dataframe containing 'timestamp', 'price', 'volume' for the selected bitcoin trades time series.
## Not run:
bb <-bitcoincharts_single_download(name = "coinbaseEUR.csv.gz", save_data=TRUE)
str(bb)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.