get_coin_data: Import Cryptocurrency Data

Description Usage Arguments Examples

View source: R/CryptoData.R

Description

Imports open, close, high, and low price; as well as volume of selected cryptocurrency.

Usage

1

Arguments

pair

Cryptocurrency and currency pair to import. Can be obtained with "format_pair" function.

Examples

1
2
3
4
5
6
## Type the cryptocurrency-local currency pair in quotes.
# get_coin_data("BTC-USD")

## Use the format_pair() function to get pair format.
# pair <- format_pair("btc", "usd")
# get_coin_data(pair)

koeneralex/cryptoData documentation built on Dec. 21, 2021, 7:42 a.m.