View source: R/global_metrics.R
get_global_marketcap | R Documentation |
Extract Global Market Cap of Cryptocurrency Market
get_global_marketcap(currency = "USD", latest = TRUE, ...)
currency |
currency code - Default is 'USD' |
latest |
If 'TRUE' (default), only the latest data is retrieved, otherwise historical data is returned. (NOTE: Historic Data require higher API rights) |
... |
Further arguments can be passed to historical data. Further information can be found in the API documentation |
A dataframe with global market cap of Cryptocurrencies
## Not run: get_global_marketcap('AUD') get_global_marketcap('EUR') get_global_marketcap(latest = FALSE, count = 10, interval = "yearly", time_start = Sys.Date()-180, time_end = Sys.Date()) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.