1
votes

In rmarkdown/bibliography, how can I convert a bunch of YAML encoded references into one of the files formats accepted by the bibliography?

I am currently using:

references:
- id: fenner2012a
  title: One-click science marketing
  author:
  - family: Fenner
    given: Martin
  container-title: Nature Materials
  volume: 11
  URL: 'http://dx.doi.org/10.1038/nmat3283'
  DOI: 10.1038/nmat3283
  issue: 4
  publisher: Nature Publishing Group
  page: 261-263
  type: article-journal
  issued:
    year: 2012
    month: 3

and would like to use:

bibliography: bibliography.???
1

1 Answers

1
votes

Turns out I needed to copy the references into a .yaml file. AND to add

---
references:

at the start of the file and --- at the end of the file