Package: rpredictit 0.1.0
rpredictit: Interface to the 'PredictIt' API
Wrapper to retrieve market data, explore available markets, and plot historical price data from the 'PredictIt' public API (<https://www.predictit.org/api/marketdata/all/>). The package comes with a demo 'shiny' application for illustrating example use cases. License to use data made available via the API is for non-commercial use and 'PredictIt' is the sole source of such data.
Authors:
rpredictit_0.1.0.tar.gz
rpredictit_0.1.0.zip(r-4.5)rpredictit_0.1.0.zip(r-4.4)rpredictit_0.1.0.zip(r-4.3)
rpredictit_0.1.0.tgz(r-4.4-any)rpredictit_0.1.0.tgz(r-4.3-any)
rpredictit_0.1.0.tar.gz(r-4.5-noble)rpredictit_0.1.0.tar.gz(r-4.4-noble)
rpredictit_0.1.0.tgz(r-4.4-emscripten)rpredictit_0.1.0.tgz(r-4.3-emscripten)
rpredictit.pdf |rpredictit.html✨
rpredictit/json (API)
NEWS
# Install 'rpredictit' in R: |
install.packages('rpredictit', repos = c('https://danielkovtun.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/danielkovtun/rpredictit/issues
Last updated 2 years agofrom:0cb9358c87. Checks:OK: 5 NOTE: 2. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 10 2024 |
R-4.5-win | NOTE | Nov 10 2024 |
R-4.5-linux | NOTE | Nov 10 2024 |
R-4.4-win | OK | Nov 10 2024 |
R-4.4-mac | OK | Nov 10 2024 |
R-4.3-win | OK | Nov 10 2024 |
R-4.3-mac | OK | Nov 10 2024 |
Exports:all_marketsformat_market_datahistorical_plotmarkets_tableparse_historical_csvrunExamplesingle_markettweet_markets
Dependencies:askpassbase64encbslibcachemclicommonmarkcrayoncrosstalkcurldigestdplyrDTdygraphsevaluatefansifastmapfontawesomefsgenericsgluehighrhtmltoolshtmlwidgetshttpuvhttrjquerylibjsonliteknitrlaterlatticelazyevallifecyclemagrittrmemoisemimeopensslpillarpkgconfigpromisesquantmodR6rappdirsRcpprlangrmarkdownsassshinysourcetoolssystibbletidyselecttinytexTTRutf8vctrswithrxfunxtablextsyamlzoo
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Get bids and asks for all 'PredictIt' markets | all_markets |
Format bid and ask market data with HTML | format_market_data |
Plot historical contract data obtained from the 'PredictIt' website | historical_plot |
Get JavaScript datatable containing bids and asks for all 'PredictIt' markets | markets_table |
Parse csv file containing historical OHLCV data | parse_historical_csv |
Run rpredictit examples | runExample |
Get bids and asks for a specific 'PredictIt' market | single_market |
Get bids and asks for all 'PredictIt' tweet markets | tweet_markets |