Paginate through query.

wh_paginate(wh, p = Inf, quiet = !interactive())

# S3 method for webhoser
wh_paginate(wh, p = Inf, quiet = !interactive())

Arguments

wh

object of class webhoser as returned by wh_news.

p

number of pages, defaults to Inf which will paginate as much as possible.

quiet

if FALSE does not return useful information to console.

Value

object of class webhoser

Examples

# NOT RUN {
token <- <- wh_token("xXX-x0X0xX0X-00X")

wh_news(q = "Programming languages") %>%
  wh_paginate(p = 3) %>% 
  wh_collect() -> lang
# }