View source: R/liquidity_cryptowat.R
getFilenames | R Documentation |
This function gets the file names of data located in a specified directory and with certain requirements
getFilenames(market, pair, type, file_extension, sourceDirectory)
market |
is the required exchange |
pair |
is the required exchange rate pair |
type |
can be either "orderbook" or "trades" |
file_extension |
is the file extension of the required dataset |
sourceDirectory |
is the directory path where the data files are located |
This function gets the file names of data located in a specified directory and containing certain keywords (for market, currency pair, data type), and file extension
needed_files a list of all files
data_file<-system.file("extdata", package = "bitcoinFinance")
filenames_trades <- getFilenames("coinbase","btcusd","trades",".json", data_file )
filenames_orderbook <- getFilenames("coinbase","btcusd","orderbook",".json", data_file )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.