Skip to content

Commit

Permalink
update examples of match_name documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobvjk committed Dec 2, 2024
1 parent 95e8d0c commit 46e7fe3
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
20 changes: 10 additions & 10 deletions R/match_name.R
Original file line number Diff line number Diff line change
Expand Up @@ -74,17 +74,9 @@
#'
#' match_name(loanbook, abcd, min_score = 0.9)
#'
#' # Use your own `sector_classifications`
#' your_classifications <- tibble(
#' sector = "power",
#' borderline = FALSE,
#' code = "D35.11",
#' code_system = "XYZ"
#' )
#'
#' # match on LEI
#' loanbook <- tibble(
#' sector_classification_system = "XYZ",
#' sector_classification_system = "NACE",
#' sector_classification_direct_loantaker = "D35.11",
#' id_ultimate_parent = "UP15",
#' name_ultimate_parent = "Won't fuzzy match",
Expand All @@ -99,7 +91,15 @@
#' lei = "LEI123"
#' )
#'
#' match_name(loanbook, abcd, join_by = c(lei_direct_loantaker = "lei"))
#' match_name(loanbook, abcd, join_id = c(lei_direct_loantaker = "lei"))
#'
#' # Use your own `sector_classifications`
#' your_classifications <- tibble(
#' sector = "power",
#' borderline = FALSE,
#' code = "D35.11",
#' code_system = "XYZ"
#' )
#'
#' loanbook <- tibble(
#' sector_classification_system = "XYZ",
Expand Down
20 changes: 10 additions & 10 deletions man/match_name.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 46e7fe3

Please sign in to comment.