limitRequester {wikiTools} | R Documentation |
Limits the rate at which a function will execute
Description
Limits the rate at which a function will execute
Usage
limitRequester(f, n, period)
Arguments
f |
The original function |
n |
Number of allowed events within a period |
period |
Length (in seconds) of measurement period |
Value
If 'f' is a single function, then a new function with the same signature and (eventual) behavior as the original function, but rate limited. If 'f' is a named list of functions, then a new list of functions with the same names and signatures, but collectively bound by a shared rate limit. Used only for WikiData Query Service (WDQS).
Author(s)
Angel Zazo, Department of Computer Science and Automatics, University of Salamanca
See Also
ratelimitr
[Package wikiTools version 1.2.7 Index]