powered by
Controls the delay between successive NEMweb requests. Defaults to 1 second (half a request per second).
aemo_throttle(delay = 1)
Invisibly returns the previous value.
Numeric. Minimum delay between requests in seconds. Internally this becomes httr2::req_throttle(rate = 1/delay).
httr2::req_throttle(rate = 1/delay)
Other configuration: aemo_cache_info(), aemo_clear_cache()
aemo_cache_info()
aemo_clear_cache()
old <- aemo_throttle(0.5) # 2 requests per second aemo_throttle(old) # restore
Run the code above in your browser using DataLab