coin_helpers: Coin helper functions

Description Usage Arguments Value Examples

Description

These helpers return ID, name or ticker symbol for cryptocurrencies based on either of the other two. Symbol inputs are not case sensitive but IDs and names are.

Usage

1
2
3
4
5

Arguments

x

a coin id, name or ticker symbol.

Value

a vector the same length as x.

Examples

1
2
3
coin_id(c("btc", "Ethereum"))
coin_name(c("BTC", "BCH"))
coin_symbol("Bitcoin")

leonawicz/rockchain documentation built on May 29, 2019, 3:39 a.m.