Skip to content

Commit

Permalink
add a progress bar for when matching loanbooks takes a bit of time
Browse files Browse the repository at this point in the history
  • Loading branch information
cjyetman authored Aug 12, 2024
2 parents 43a4b39 + 94f13ae commit b67d4dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Description: This repo allows running PACTA analyses on multiple loan books in a
exported to specified project paths.
Encoding: UTF-8
Imports:
cli (>= 3.2.0),
config,
dplyr,
ggplot2,
Expand Down
2 changes: 1 addition & 1 deletion run_matching.R
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ raw_lbk <- readr::read_csv(
dplyr::group_split(.data$group_id)

# match and save loan books----
for (i in seq_along(raw_lbk)) {
for (i in cli::cli_progress_along(raw_lbk, "Matching loanbooks")) {
group_name <- unique(raw_lbk[[i]]$group_id)

## match data----
Expand Down

0 comments on commit b67d4dc

Please sign in to comment.