cboettig / knitcitations

:package: Generate citations for knitr markdown and html files
http://carlboettiger.info
Other
220 stars 28 forks source link

More rigorous parsing of crossref data #36

Closed cboettig closed 10 years ago

cboettig commented 11 years ago

Crossref parsing doesn't handle alternate types, such as this data from a book chapter, at DOI: 10.1007/978-1-4684-4106-2_14 (the 14 is the chapter, resolves mostly the book information instead).

Stronger data typing and more rigorous adherence to crossref standard for article metadata would help.

cboettig commented 10 years ago

Now handled externally (in v1)

cboettig commented 10 years ago

The example DOI parses correctly

cite_options(check.entries=FALSE)
b = bib_metadata("10.1007/978-1-4684-4106-2_14")
b
format(b, "Bibtex")

Correctly cites the chapter as inCollection in the book. (We now query the CrossRef bibtex format directly). This addresses the same problem as #60