markets_table: Get JavaScript datatable containing bids and asks for all...

Description Usage Arguments Value Examples

Description

Wrapper function to return a datatable containing 'PredictIt' market data. Can be displayed in a shinyApp, RMarkdown document, or exported via saveWidget().

Usage

1

Arguments

data

'PredictIt' market data, of class data.frame or tibble, as returned by all_markets() or tweet_markets().

Value

An interactive datatable object containing formatted bid and ask data for the provided market data.

Examples

1
2

rpredictit documentation built on March 26, 2020, 8:26 p.m.