ropensci / bib2df

Parse a BibTeX file to a tibble
https://docs.ropensci.org/bib2df
99 stars 22 forks source link

Updates to README #26

Closed bambooforest closed 5 years ago

bambooforest commented 5 years ago

Cool library! I came across it from a google search when needing to check the contents of a BibTeX file against a list of BibTeX IDs using R.

I did not find the example here very useful:

https://github.com/ropensci/bib2df

because of the call here:

path <- system.file("extdata", "biblio.bib", package = "bib2df")

which isn't immediately obvious (to me) how/where it's suppose to be called. Better I find is the example in vignette:

library(bib2df) url <- "https://gist.githubusercontent.com/ottlngr/d709ab6c7de08d133435cb8c77699914/raw/153f2ec0be6d36c7dd9fa3389cc87f54ecf4da04/LiteratureOnCommonKnowledgeInGameTheory.bib" df <- bib2df(url) df

which works immediately.

Also fixes a broken link to the code of conduct.

codecov-io commented 5 years ago

Codecov Report

Merging #26 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #26   +/-   ##
=======================================
  Coverage   87.12%   87.12%           
=======================================
  Files           6        6           
  Lines         202      202           
=======================================
  Hits          176      176           
  Misses         26       26

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update aa8b11e...fe5d9b7. Read the comment docs.

ottlngr commented 5 years ago

Thanks for the PR and sorry for the late reply. You're right, a URL to a Gist is easier to read as using system.file().