Extract and monitor price and market cap of 'Cryptocurrencies' from 'Coin Market Cap' < https://coinmarketcap.com/api/>.
The goal of coinmarketcapr is To get Cryptocurrencies Market Cap Prices from Coin Market Cap
# the development version from GitHub:# install.packages("devtools")devtools::install_github("amrrs/coinmarketcapr")
library(coinmarketcapr)latest_marketcap <- get_global_marketcap('EUR')
coinmarketcap
can be loaded just like any other R-package with library(coinmarketcap)
.
Note: If you're trying this behind a Firewall, you might get:
Error in open.connection(con, "rb") : Timeout was reached
To resolve this error, Please refer this link: Configuring R to Use an HTTP or HTTPS Proxy
library(coinmarketcapr) #get the global market cap details and assign it to a dataframelatest_marketcap <- get_global_marketcap('EUR')