スロットリングした関数へのカスタム引数
右側のコンソールで次のコードを実行してください。
throttled_read_html <- slowly(~ read_html("https://wikipedia.org"),
rate = rate_delay(0.5))
for(i in c(1, 2, 3)){
throttled_read_html("https://google.com") %>%
html_element("title") %>%
html_text() %>%
print()
}
なぜ "Google" ではなく "Wikipedia" が3回出力されるのでしょうか。
この演習はコースの一部です
