For Pollster methods that return results in pages (those with a cursor
argument), iterate over multiple pages.
pollster_iter(.f, ..., cursor = NULL, .max_pages = 1, .debug = FALSE) pollster_charts_iter(cursor = NULL, tags = NULL, election_date = NULL, .max_pages = 1, ...) pollster_questions_iter(cursor = NULL, tags = NULL, election_date = NULL, .max_pages = 1, ...) pollster_polls_iter(cursor = NULL, tags = NULL, question = NULL, sort = c("created_at", "updated_at"), .max_pages = 1, ...)
cursor
..f
TRUE
prints the url and cursor number while fetching the pages.A list of the results.
pollster_charts_iter
: Return a list of charts. See hrefhttps://app.swaggerhub.com/swagger-ui/#!/default/get_chartsAPI Docs. This is the paginated version of pollster_charts
.
pollster_questions_iter
: Get a question. This is the paginated form of pollster_questions
.
pollster_polls_iter
: Get polls. This function is the paginated version of pollster_polls
.