markets_table {rpredictit} | R Documentation |
Get JavaScript datatable containing bids and asks for all 'PredictIt' markets
Description
Wrapper function to return a
datatable
containing 'PredictIt' market data.
Can be displayed in a shinyApp
, RMarkdown document,
or exported via saveWidget()
.
Usage
markets_table(data)
Arguments
data |
'PredictIt' market data, of class |
Value
An interactive datatable
object
containing formatted bid and ask data for the provided market data.
Examples
data <- all_markets()
markets_table(data)
[Package rpredictit version 0.1.0 Index]