View source: R/download_data_bitcoincharts.R
bitcoincharts_random_download | R Documentation |
This function downloads a pre-specified number of random bitcoin trades series from api.bitcoincharts.com
bitcoincharts_random_download(
number_of_series_needed = 5,
exceptions = c("okcoinCNY.csv.gz", "coincheckJPY.csv.gz"),
start_date = "2015-08-03",
end_date = "2017-07-01",
save_data = FALSE
)
number_of_series_needed |
is the desidered number of (randomly selected) bitcoin trades series |
exceptions |
is a string vector of the files not to be (potentially) selected from api.bitcoincharts.com due to their large dimensions |
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 series will be saved in the bitcoin_data.rds file (in the Working Directory) |
This function downloads a pre-specified number of random bitcoin trades time series from api.bitcoincharts.com with a required minimum starting date and a required ending date
data_list is a list containting the dataframes of several time series data downloaded from bitcoincharts. Each dataframe has the 'timestamp', 'price', 'volume' for the selected bitcoin trades time series.
## Not run:
aa <-bitcoincharts_random_download(number_of_series_needed = 3, save_data=TRUE)
str(aa)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.