Closed chrisumphlett closed 2 years ago
list_distribution_links()
, for the paginating maybe?(1) is already there
(2) would take me a while to understand, I can't take that on right now.
(3) I'm not sure if this is possible. While res <- qualtrics_api_request("GET", url = fetch_url)
is being evaluated, the errors are caught by httr::RETRY
. Could something conditionally be written to the console? I could have it write all the pagination to the console but that would be very "chatty". In my experience, with distributions of 25-40K, this tends to be 500-800 pages.
@chrisumphlett I think we've got a lot of this addressed now. Can you open a new issue (and close this one) describing what still needs to be done? Create some new logging for the way httr::RETRY()
works in this context?
Sure
httr::RETRY
and as a result a user may see something like this in the console: If/when this happens, you should be patient and let it retry multiple times if it's a 50x error. It would probably be helpful to either include some standard paragraph in every function documentation, or put something in the README that covers it.httr::RETRY
is vague. If running a call that takes a long time (likelist_distribution_links()
on a large distribution) there may be errors on multiple calls, resulting in something that looks like: It's not readily apparent if this is one issue, and it's retrying it many times, or multiple issues with a single retry. There could be improved messaging to the console to help the user understand what's happening.