Description Usage Arguments Value Examples
List all of the crypto currencies that have existed on CoinMarketCap
and use this to populate the URL base for scraping historical market
data. It retrieves name, slug, symbol and rank of crypto currencies from
CoinMarketCap and creates URLS for scraper()
to use.
1 2 | crypto_list(coin = NULL, start_date = NULL, end_date = NULL,
coin_list = NULL)
|
coin |
Name, symbol or slug of crypto currency |
start_date |
Start date to retrieve data from, format yyyymmdd |
end_date |
Start date to retrieve data from, format yyyymmdd |
coin_list |
'api', 'static' or NULL |
Crypto currency historic OHLC market data in a dataframe:
symbol |
Coin symbol (not-unique) |
name |
Coin name |
slug |
Coin URL slug (unique) |
rank |
Current rank by market cap |
exchange_url |
Exchange market tables urls for scraping |
history_url |
Historical market tables urls for scraping |
Required dependency that is used in function call getCoins()
.
1 2 3 4 5 6 7 8 | ## Not run:
coin <- 'kin'
coins <- crypto_list(coin)
# return all coins
coin_list <- crypto_list()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.