wait <- function(tokens, exception) {
pause(exception$wait_time)
request(tokens, policy = wait)
}
pause <- function(wait_time) {
Sys.sleep(wait_time + .02)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.