View source: R/batch_cache_api.R
| data_fetcher_batch | R Documentation |
This additive helper retrieves data in batches and can retry failed batches. Caching is optional and disabled by default, preserving existing package behavior.
data_fetcher_batch(
id,
data_type = "ENTRY",
properties,
return_as_dataframe = TRUE,
batch_size = 50,
retry_attempts = 3,
retry_backoff = 0.5,
progress = FALSE,
cache = FALSE,
cache_dir = NULL,
verbosity = FALSE
)
id |
Character vector of identifiers. |
data_type |
Data type passed to |
properties |
Property list passed to |
return_as_dataframe |
Logical; passed through to |
batch_size |
Number of IDs per batch. |
retry_attempts |
Number of retry attempts per batch. |
retry_backoff |
Backoff multiplier in seconds. |
progress |
Logical; show progress messages when TRUE. |
cache |
Logical; enable on-disk cache. |
cache_dir |
Optional cache directory. |
verbosity |
Logical; passed to |
A combined object matching the chosen return mode with provenance metadata.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.