Skip to content

Commit

Permalink
add a progress bar when matching loanbooks
Browse files Browse the repository at this point in the history
  • Loading branch information
CJ Yetman - RMI authored and CJ Yetman - RMI committed Aug 8, 2024
1 parent fc0736f commit 9c29e19
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 1:length(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 9c29e19

Please sign in to comment.