Skip to content

Commit

Permalink
[fix datacarpentry#184] add DOI
Browse files Browse the repository at this point in the history
  • Loading branch information
fmichonneau committed Apr 26, 2017
1 parent efb6f72 commit a88e414
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions CITATION.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
```{r, echo=FALSE, results='hide'}
generate_citation <- function(authors = "AUTHORS",
editors = personList(person(given = "Francois", family = "Michonneau"),
person(given = "Auriel", family = "Fournier"))) {
person(given = "Auriel", family = "Fournier")),
doi = "10.5281/zenodo.569338") {
aut <- readLines(authors)
# remove first line
Expand All @@ -18,7 +19,8 @@ generate_citation <- function(authors = "AUTHORS",
editor = editors,
month = format(Sys.Date(), "%B"),
year = format(Sys.Date(), "%Y"),
url = "http://datacarpentry.org/R-ecology-lesson"
url = "http://datacarpentry.org/R-ecology-lesson",
doi = doi
)
}
Expand Down
3 changes: 2 additions & 1 deletion CITATION.html
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ <h2>Lessons</h2>
<p>The <strong><code>ggplot2</code></strong> lesson was initially created by Mateusz Kuzak, Diana Marek, and Hedi Peterson, during a Hackathon in Espoo, Finland on March 16-17, 2015, sponsored by the <a href="http://elixir-europe.org/">ELIXIR project</a>.</p>
<p>You can cite this Data Carpentry lesson as follow:</p>
<p>
Obeng A, Pawlik A, Pletzer A, Shiklomanov A, Fouilloux A, Fournier A, Marwick B, Brown CT, Voter C, Bouquin D, Wilson E, Hart E, Sügis E, Gan E, White E, Michonneau F, Boehm F, Dashnow H, Lapp H, Ashander J, Byrnes J, Hollister JW, Keane J, Herr J, Mislan KAS, KWHall, Woo K, Cranston K, Jordan KL, Ram K, Hertweck K, Todd-Brown K, Lotterhos K, Direk K, Chatzidimitriou K, Deer L, Laurent, Wasser L, Tarkowski L, Breckels L, Foos M, Ankenbrand M, Ankenbrand MJ, Kuzak M, Koontz M, Johnston M, Marino N, Carchedi N, Lijnzaad P, Shawn, Labou S, Pederson S, Webster T, Hart T, Sandmann T, Teal T, Furnass W, Pearse W, Li Y, ashander, cbahlai, clarashaw, duffymeg, ejh243, fishman, jsta, markrobinsonuzh, mchiapello, mkuzak, plijnzaad, riverpeek, sarahsupp, sfn_brt, stubbsda and suparee (2017). “Data Carpentry: R for data analysis and visualization of Ecological Data.” <a href="http://datacarpentry.org/R-ecology-lesson">http://datacarpentry.org/R-ecology-lesson</a>.
Obeng A, Pawlik A, Pletzer A, Shiklomanov A, Fouilloux A, Fournier A, Marwick B, Brown CT, Voter C, Bouquin D, Wilson E, Hart E, Sügis E, Gan E, White E, Michonneau F, Boehm F, Dashnow H, Lapp H, Ashander J, Byrnes J, Hollister JW, Keane J, Herr J, Mislan KAS, KWHall, Woo K, Cranston K, Jordan KL, Ram K, Hertweck K, Todd-Brown K, Lotterhos K, Direk K, Chatzidimitriou K, Deer L, Laurent, Wasser L, Tarkowski L, Breckels L, Foos M, Ankenbrand M, Ankenbrand MJ, Kuzak M, Koontz M, Johnston M, Marino N, Carchedi N, Lijnzaad P, Shawn, Labou S, Pederson S, Webster T, Hart T, Sandmann T, Teal T, Furnass W, Pearse W, Li Y, ashander, cbahlai, clarashaw, duffymeg, ejh243, fishman, jsta, markrobinsonuzh, mchiapello, mkuzak, plijnzaad, riverpeek, sarahsupp, sfn_brt, stubbsda and suparee (2017). “Data Carpentry: R for data analysis and visualization of Ecological Data.” doi: <a href="http://doi.org/10.5281/zenodo.569338">10.5281/zenodo.569338</a>, <a href="http://datacarpentry.org/R-ecology-lesson">http://datacarpentry.org/R-ecology-lesson</a>.
</p>
<p>or as a BibTeX entry:</p>
<pre><code>@Misc{,
Expand All @@ -337,6 +337,7 @@ <h2>Lessons</h2>
month = {April},
year = {2017},
url = {http://datacarpentry.org/R-ecology-lesson},
doi = {10.5281/zenodo.569338},
}</code></pre>
</div>
</div>
Expand Down

0 comments on commit a88e414

Please sign in to comment.