doChunks | R Documentation |
Execute the function f(x,...) in chunks of chunk-size elements each.
Wikidata and Wikimedia API have limits to execute a query. Wikidata has
timeout limits, Wikimedia about the number of titles or pageIds. This function
executes sequentially the function f
over chunks of elements to prevent
errors.
doChunks(f, x, chunksize, ...)
f |
The function to execute. |
x |
Vector of entities or titles/pageids. |
chunksize |
The number of elements in |
... |
The |
The results of execute f
using all values of x
Angel Zazo, Department of Computer Science and Automatics, University of Salamanca
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.