ropensci-archive / rplos

:warning: ARCHIVED :warning: R client for the PLoS Journals API
Other
314 stars 107 forks source link

Indicate that internal pagination is implemented in docs #122

Closed Bubblbu closed 6 years ago

Bubblbu commented 6 years ago

Maybe it would be good to indicate that internal looping is implemented in the documentation for searchplos. I think that this threw me off and made me assume that manual looping is required:

start -- Record to start at (used in combination with limit when you need to cycle through more results than the max allowed=1000)

sckott commented 6 years ago

install like remotes::install_github("ropensci/rplos@progress") e.g.

res <- searchplos(q='*:*', limit = 2000, progress = httr::progress())
Bubblbu commented 6 years ago
Error in curl::curl_fetch_memory(x$url$url, handle = x$url$handle) : 
  Illegal characters found in URL
sckott commented 6 years ago

are you sure you installed from the progress branch and you restarted your R session, etc