If applying a function to a data frame that take a long time, this function may help to estimate the total processing duration.
process_df_chunked(df, callback, chunk_size = 100, progress = TRUE, ...)
data frame
A callback function to call on each chunk
The number of rows to include in each chunk
bool. Display a progress message stating time taken after each chunk is processed.
additional arguments passed on to callback
function.
a dataframe