check_bib_duplicates: Check bib duplicates

Description Usage Arguments

View source: R/check_bib_duplicates.R

Description

Check bib duplicates

Usage

1
2
3
4
5
6
7
check_bib_duplicates(
  bibPath,
  authorDistance = 0.4,
  titleDistance = 0.2,
  matchMethod = "jw",
  skipTitles = ""
)

Arguments

bibPath

Path to the bib file

authorDistance

A number between 0 and 1 for the loose (0) or tighter (1) match on authors (default is 0.4)

titleDistance

A number between 0 and 1 for the loose (0) or tighter (1) match on titles (default is 0.2)

matchMethod

"jw" is the default. See https://www.rdocumentation.org/packages/stringdist/versions/0.9.5.1/topics/stringdist-metrics for extensive options.

skipTitles

A vector of bib entry titles to ignore. For example, "Budget Papers 1" will incorrectly match with "Budget Papers 2". Add skipTitles = c("Budget Papers 1") to ignore this duplicate.


wfmackey/word2grattex documentation built on Feb. 28, 2021, 9:54 p.m.