Introducing crypto2: Survivorship-Bias-Free Cryptocurrency Data in R
Mar 27, 2019·
·
1 min read
Sebastian Stöckl

Most studies on cryptocurrency markets focus on the few largest survivors, making their results subject to survivorship bias. The crypto2 R package solves this by providing API-free access to the full CoinMarketCap universe — including historically listed and delisted tokens.
The package is available on CRAN:
install.packages("crypto2")
Key functions:
crypto_list()— all active, delisted, and untracked coinscrypto_history()— full OHLCV history for any set of coins (daily or hourly)crypto_listings()— historical and latest market listingscrypto_info()— metadata for any coincrypto_global_quotes()— global aggregate market statisticsexchange_list()/exchange_info()— exchange-level data
The package uses only public CoinMarketCap web endpoints — no API key required.
→ Full documentation, vignettes, and examples: sebastianstoeckl.com/crypto2