scraper: Historical table scraper

Description Usage Arguments Value

View source: R/scraper.R

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

1

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


heguevel/Crypto documentation built on July 24, 2020, 12:25 a.m.