R/market_data.R
markets_table.Rd
Wrapper function to return a
datatable
containing 'PredictIt' market data.
Can be displayed in a shinyApp
, RMarkdown document,
or exported via saveWidget()
.
markets_table(data)
'PredictIt' market data, of class data.frame
or tibble
, as returned by
all_markets()
or
single_market
.
An interactive datatable
object
containing formatted bid and ask data for the provided market data.
data <- all_markets()
markets_table(data)