| sync_local_data_batches | R Documentation |
Combines multiple freshly retrieved data batches in memory, de-duplicates
them by key_cols, then calls sync_local_data() once. This is useful for
gap repair workflows where calling sync_local_data() once per small page
would repeatedly rewrite the same local .rds file.
sync_local_data_batches(
batches,
local_file_path,
key_cols,
order_cols = key_cols,
source_utime = NULL,
local_updated_at = Sys.time()
)
batches |
A list of |
local_file_path |
Output |
key_cols |
Character vector of key columns used for de-duplication. |
order_cols |
Character vector used to sort the merged data. |
source_utime |
Optional upstream update time recorded in metadata. |
local_updated_at |
Optional local update time override. |
A sync result list.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.