withCrunchyProgress function

Display progress from Crunch API processes

Display progress from Crunch API processes

Some potentially large operations, such as imports and exports, report progress in the Crunch API. In an interactive R session, they print a text progress bar. This context, which wraps shiny::withProgress(), reports that Crunch API progress up to the Shiny web app.

withCrunchyProgress(expr, ...)

Arguments

  • expr: Code to evaluate
  • ...: Additional arguments passed to shiny::withProgress()

Returns

The result of expr

Examples

## Not run: withCrunchyProgress( ds <- newDataset(df), message = "Importing..." ) ## End(Not run)