Skip to content

Commit ddf8807

Browse files
committed
Add "Hints" for Author Names
1 parent cbd1079 commit ddf8807

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

vignettes/workflow.Rmd

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,24 @@ In total `r n_new_entries` new entries where created in `r basename(en_new_xml)`
7777
compared to `r basename(en_old_xml)` which contain `r nrow(en_diffs_df)` new
7878
values.
7979

80+
81+
82+
83+
### Use Case 3: Get Hints For 'Author Names'
84+
85+
```{r echo=TRUE}
86+
87+
multi_cols_list <- kwb.endnote::tidy_multi_cols_list(refs_clean_df)
88+
89+
names(multi_cols_list)
90+
91+
92+
hints_author_names <- tibble::tibble(author = unique(multi_cols_list$author$value)) %>%
93+
dplyr::mutate(hints = kwb.endnote::give_hints_author_names(.data$author)) %>%
94+
dplyr::filter(stringr::str_detect(.data$hints, pattern = "^fix_")) %>%
95+
dplyr::arrange(.data$author)
96+
97+
98+
hints_author_names
99+
100+
```

0 commit comments

Comments
 (0)