MetaculR_questions {MetaculR}R Documentation

Retrieve questions from Metaculus API

Description

Retrieve questions from Metaculus API

Usage

MetaculR_questions(
  api_domain = "www",
  order_by = "last_prediction_time",
  status = "all",
  search = "",
  guessed_by = "",
  offset = 0,
  pages = 10
)

Arguments

api_domain

Use "www" unless you have a custom Metaculus domain

order_by

Choose "last_prediction_time", "-activity", "-votes", "-publish_time", "close_time", "resolve_time", "last_prediction_time"

status

Choose "all", "upcoming", "open", "closed", "resolved"

search

Search term(s)

guessed_by

Generally your Metaculus_user_id

offset

Question offset

pages

Number of pages to request

Value

A list of questions, ordered by last prediction time.

See Also

Other Question Retrieval functions: MetaculR_myPredictions_Resolved(), MetaculR_myPredictions()

Examples

## Not run: 
questions_recent_open <-
  MetaculR_questions(
    order_by = "close_time",
    status = "open",
    guessed_by = "")

## End(Not run)

[Package MetaculR version 0.4.1 Index]