aggregate bibliograhy to fill in the missing references
Examples
dir.create(your_article_folder <- file.path(tempdir(), "exampledir"))
example_files <- system.file("aggr_example", package = "rebib")
x <- file.copy(from = example_files,to=your_article_folder,recursive = TRUE)
your_article_path <- paste(your_article_folder,"aggr_example",sep="/")
rebib::aggregate_bibliography(your_article_path)
#> Found Bib file example.bib
#> bibliography aggregation possible
#> Found Bib file example.bib
#> aggregation delta : 2
#> BibTeX file aggregated
readLines(paste(your_article_path,"example.bib",sep="/"))
#> [1] "@book{ihaka:1996,"
#> [2] " author = {{Ihaka, Ross and Gentleman, Robert}},"
#> [3] " title = {{R: A Language for Data Analysis and Graphics}},"
#> [4] " publisher = {Journal of Computational and Graphical Statistics 3: 299--314},"
#> [5] " year = {1996},"
#> [6] " url = {https://doi.org/10.1080/10618600.1996.10474713}"
#> [7] "}"
#> [8] "@book{R,"
#> [9] "author = {R {Core Team}},"
#> [10] "title = {{R: A Language and Environment for Statistical Computing}},"
#> [11] "publisher = {R Foundation for Statistical Computing Vienna Austria :},"
#> [12] "year = {2016},"
#> [13] "url = {https://www.R-project.org/},"
#> [14] "isbn = {3-900051-07-0}"
#> [15] "}"
#> [16] "@book{Tremblay:2012,"
#> [17] "author = {A.~{Tremblay}},"
#> [18] "title = {{LMERConvenienceFunctions: A suite of functions to back-fit fixed effects and forward-fit random effects, as well as other miscellaneous functions., }},"
#> [19] "publisher = {R package version 1.6.8.2},"
#> [20] "year = {2012},"
#> [21] "url = {http://CRAN.R-project.org/package=LMERConvenienceFunctions}"
#> [22] "}"
#> [23] ""
unlink(your_article_folder,recursive = TRUE)