Learn R Programming

crypto (version 1.1.3)

scraper: Historical table scraper

Description

This web scrapes the historic price tables from CoinMarketCap and provides back a dataframe for the coin provided as an input. This function is a dependency of getCoins and is used as part of a loop to retrieve all crypto currencies.

Usage

scraper(attributes, slug, sleep = NULL)

Arguments

attributes

URL generated from listCoins()

slug

Unique identifier required for merging

sleep

Duration to sleep to resolve rate limiter

Value

Raw OHLC market data in a dataframe:

slug

Coin url slug

symbol

Coin symbol

name

Coin name

date

Market date

open

Market open

high

Market high

low

Market low

close

Market close

volume

Volume 24 hours

market

USD Market cap