Skip to contents

Match table from bib table

Usage

add_bib_match(paper, min_score = 50)

Arguments

paper

a paper or paperlist object

min_score

minimal score that is taken to be a reliable match

Value

the paper or paperlist with bib_match table added

Examples

# \donttest{
if (online("api.crossref.org")) {
  paper <- demopaper()
  paper$bib_match <- NULL # remove existing
  paper2 <- add_bib_match(paper)
  paper2$bib_match
}
#>   bib_id  service service_id  score bib_type                        doi
#> 1      1 crossref       <NA>     NA  article 10.1037/0003-066x.54.6.408
#> 2      2 crossref       <NA>     NA  article   10.1177/0956797614520714
#> 3      3 crossref       <NA> 61.711  article   10.1177/2515245918770963
#>                                                                                         title
#> 1 The origins of sex differences in human behavior: Evolved dispositions versus social roles.
#> 2                       Retracted: Evil Genius? How Dishonesty Can Lead to Greater Creativity
#> 3                                  Equivalence Testing for Psychological Research: A Tutorial
#>                                             authors editors         publisher
#> 1                      Alice H., Wendy, Eagly, Wood                      <NA>
#> 2             Francesca, Scott S., Gino, Wiltermuth                      <NA>
#> 3 Daniël, Anne M., Peder M., Lakens, Scheel, Isager         SAGE Publications
#>   year date                                                  container volume
#> 1 1999 <NA>                                      American Psychologist     54
#> 2 2014 <NA>                                      Psychological Science     25
#> 3 2018 <NA> Advances in Methods and Practices in Psychological Science      1
#>   issue first_page last_page edition version
#> 1     6        408       423    <NA>    <NA>
#> 2     4        973       981    <NA>    <NA>
#> 3     2        259       269    <NA>    <NA>
#>                                          url
#> 1 https://doi.org/10.1037/0003-066x.54.6.408
#> 2   https://doi.org/10.1177/0956797614520714
#> 3   https://doi.org/10.1177/2515245918770963
# }