<div dir="ltr">Hi Margaret,<div><br></div><div>Thanks for writing about this, sounds like a great idea. I agree that a style-sheet based conversion would be ideal, but don't know of any existing currently. As you're probably aware, any such mapping introduces some subjectivity as there is not a 1:1 correspondence between EML and bibtex fields. </div>
<div>
<br></div><div><br></div><div><br></div><div>I might point out that we've implemented this functionality in our (still under active development) R package for EML. Because R already has tools supporting a wide variety of formats, this should make it relatively easy to both create and parse EML citations into other formats, like bibtex. </div>
<div><br></div><div>For example, let's create a simple EML file corresponding to a citation. In R we do: </div><div><br></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div>library("RefManageR"); library("bibtex"); library("EML")</div>
<div><div># get a citation from a crossref query</div></div><div><div>a_citation = ReadCrossRef(query = 'Boettiger early warning', limit = 1, year="2013", sort = "relevance")</div></div><div>
<br>
</div><div># Format the citation for EML and write to file</div><div>eml_write(citation = a_citation, file="example.xml")<br></div></blockquote><div><br></div><div>That gives us a valid EML file containing a single (top-level) citation. We can extract citation data from EML files and turn it into BibTeX:</div>
<div><br></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div>eml <- eml_read("example.xml")</div><div><br></div><div># Extract the citation and convert to R's native citation format<br>
</div></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div>bib <- as(eml@citation, "bibentry") </div></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">
<div>write.bib(bib, "example.bib")</div></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><br></div><div><br></div></blockquote>The "eml" object uses the '@' notation to navigate the EML hierarchy (i.e. the EML is represented as an S4 object in R, though xpath navigation and helper functions also available). We don't have a function that would grab all unique citations from an EML document, but perhaps that would be useful. <div>
<br><div><br></div><div>Anyway, if anyone wants to give the package a try, the development version is here and feedback would be most welcome (see: <a href="https://github.com/ropensci/EML">https://github.com/ropensci/EML</a> )<br>
<div><br></div><div><br></div><div><br></div><div>Cheers,</div><div><br></div><div>Carl</div><div><br></div>
<div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 5, 2014 at 10:05 AM, Margaret O'Brien <span dir="ltr"><<a href="mailto:margaret.obrien@ucsb.edu" target="_blank">margaret.obrien@ucsb.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi all -<br>
I just heard that <a href="http://report.gov" target="_blank">report.gov</a> will accept lists of citations for annual reports in BibTeX format. This ought to help streamline submissions from LTER sites.<br>
<br>
SBC LTER's citations are in EML, so we'll need a eml2bibtex stylesheet sometime this summer. I haven't looked closely at the format yet, but I think it will be a variation of what I already use for eml2endnote. Is anyone interested in collaborating on this? or better yet, does one already exist?<br>
<br>
best,<br>
Margaret<br>
<br>
-----------<br>
Margaret O'Brien<br>
Information Management<br>
Santa Barbara Coastal LTER<br>
Marine Science Institute, UCSB<br>
Santa Barbara, CA 93106<br>
<a href="tel:805-893-2071" value="+18058932071" target="_blank">805-893-2071</a> (voice)<br>
<a href="http://sbc.lternet.edu" target="_blank">http://sbc.lternet.edu</a><br>
<br>
<br>
<br>
-------- Original Message --------<br>
Subject: Fwd: NSF Releases Video Tutorial on Research.gov’s BibTeX Feature<br>
Date: Wed, 28 May 2014 07:33:48 -0700<br>
From: Jenny Dugan <<a href="mailto:jenny.dugan@lifesci.ucsb.edu" target="_blank">jenny.dugan@lifesci.ucsb.edu</a>><br>
To: <<a href="mailto:mob@msi.ucsb.edu" target="_blank">mob@msi.ucsb.edu</a>><br>
<br>
<br>
<br>
Fyi<br>
<br>
-------- Original Message --------<br>
From: *NSF Business Applications *<<a href="mailto:NSF_Business_Applications@NSF.GOV" target="_blank">NSF_Business_Applications@<u></u>NSF.GOV</a>><br>
Date: May 28, 2014 7:14:50 AM<br>
Subject: NSF Releases Video Tutorial on Research.gov’s BibTeX Feature<br>
To: Jenny Dugan <<a href="mailto:jenny.dugan@lifesci.ucsb.edu" target="_blank">jenny.dugan@lifesci.ucsb.edu</a>><br>
<br>
<br>
<br>
Colleagues,<br>
<br>
On Wednesday, May 21, NSF released a video tutorial on Research.gov’s feature to capture citations in annual and final project reports through the uploading of a BibTeX file. This tutorial walks awardees through the creation and uploading process of a BibTeX file to a project report via Research.gov. To view the tutorial, visit the Research.gov Project Reporting page <<a href="http://www.research.gov/research-portal/appmanager/base/desktop?_nfpb=true&_pageLabel=research_page_n_about_por" target="_blank">http://www.research.gov/<u></u>research-portal/appmanager/<u></u>base/desktop?_nfpb=true&_<u></u>pageLabel=research_page_n_<u></u>about_por</a>>or click here <<a href="http://www.research.gov/common/attachment/Desktop/aboutprojectreportsbibtextutorial2.htm?wtlink=Research.gov%20Test%20Page" target="_blank">http://www.research.gov/<u></u>common/attachment/Desktop/<u></u>aboutprojectreportsbibtextutor<u></u>ial2.htm?wtlink=Research.gov%<u></u>20Test%20Page</a>>.<br>
<br>
The Research.gov BibTeX video tutorial is one in a series of tutorials that NSF is releasing to help awardees. This past February, NSF released the Project Reporting video tutorial <<a href="http://www.research.gov/common/attachment/Desktop/aboutprojectreportstutorial.htm" target="_blank">http://www.research.gov/<u></u>common/attachment/Desktop/<u></u>aboutprojectreportstutorial.<u></u>htm</a>>, which highlights the process and tools available to complete and submit a project report.<br>
<br>
We hope that you find these tutorials helpful. If you have any questions, please contact us at <a href="mailto:feedback@research.gov" target="_blank">feedback@research.gov</a> <mailto:<a href="mailto:feedback@research.gov" target="_blank">feedback@research.gov</a>><u></u>.<br>
<br>
Sincerely,<br>
<br>
The Research.gov Team at the National Science Foundation<br>
<br>
<br>
<br>
You are receiving this message because you have subscribed to NSF’s System Updates listserv. To unsubscribe, please email <a href="mailto:system_updates-unsubscribe-request@listserv.nsf.gov" target="_blank">system_updates-unsubscribe-<u></u>request@listserv.nsf.gov</a> <mailto:<a href="mailto:system_updates-unsubscribe-request@listserv.nsf.gov" target="_blank">system_updates-<u></u>unsubscribe-request@listserv.<u></u>nsf.gov</a>><br>
<br>
<br>
<br>
-- <br>
*Jenny Dugan*<br>
Marine Science Institute<br>
University of California<br>
Santa Barbara, CA 93106-6150<br>
Phone: <a href="tel:805-893-2675" value="+18058932675" target="_blank">805-893-2675</a><br>
email: <a href="mailto:j_dugan@lifesci.ucsb.edu" target="_blank">j_dugan@lifesci.ucsb.edu</a><br>
<a href="http://msi.ucsb.edu/people/research-scientists/jenny-dugan" target="_blank">http://msi.ucsb.edu/people/<u></u>research-scientists/jenny-<u></u>dugan</a><br>
SBC LTER: <a href="http://sbc.lternet.edu/index.html" target="_blank">http://sbc.lternet.edu/index.<u></u>html</a><br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
Eml-dev mailing list<br>
<a href="mailto:Eml-dev@ecoinformatics.org" target="_blank">Eml-dev@ecoinformatics.org</a><br>
<a href="http://lists.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/eml-dev" target="_blank">http://lists.nceas.ucsb.edu/<u></u>ecoinformatics/mailman/<u></u>listinfo/eml-dev</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Carl Boettiger<br>UC Santa Cruz<br><a href="http://carlboettiger.info/" target="_blank">http://carlboettiger.info/</a><br></div>
</div></div>