[eml-dev] Fwd: Fwd: NSF Releases Video Tutorial on Research.gov’s BibTeX Feature

Carl Boettiger cboettig at gmail.com
Fri Jun 6 12:03:29 PDT 2014


Hi Margaret,

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.



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.

For example, let's create a simple EML file corresponding to a citation.
 In R we do:

library("RefManageR"); library("bibtex"); library("EML")
# get a citation from a crossref query
a_citation =  ReadCrossRef(query = 'Boettiger early warning', limit = 1,
year="2013", sort = "relevance")

# Format the citation for EML and write to file
eml_write(citation = a_citation, file="example.xml")


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:

eml <- eml_read("example.xml")

# Extract the citation and convert to R's native citation format

bib <- as(eml at citation, "bibentry")

write.bib(bib, "example.bib")



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.


Anyway, if anyone wants to give the package a try, the development version
is here and feedback would be most welcome (see:
https://github.com/ropensci/EML )



Cheers,

Carl




On Thu, Jun 5, 2014 at 10:05 AM, Margaret O'Brien <margaret.obrien at ucsb.edu>
wrote:

> Hi all -
> I just heard that report.gov will accept lists of citations for annual
> reports in BibTeX format. This ought to help streamline submissions from
> LTER sites.
>
> 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?
>
> best,
> Margaret
>
> -----------
> Margaret O'Brien
> Information Management
> Santa Barbara Coastal LTER
> Marine Science Institute, UCSB
> Santa Barbara, CA 93106
> 805-893-2071 (voice)
> http://sbc.lternet.edu
>
>
>
> -------- Original Message --------
> Subject:        Fwd: NSF Releases Video Tutorial on Research.gov’s BibTeX
> Feature
> Date:   Wed, 28 May 2014 07:33:48 -0700
> From:   Jenny Dugan <jenny.dugan at lifesci.ucsb.edu>
> To:     <mob at msi.ucsb.edu>
>
>
>
> Fyi
>
> -------- Original Message --------
> From: *NSF Business Applications *<NSF_Business_Applications at NSF.GOV>
> Date: May 28, 2014 7:14:50 AM
> Subject: NSF Releases Video Tutorial on Research.gov’s BibTeX Feature
> To: Jenny Dugan <jenny.dugan at lifesci.ucsb.edu>
>
>
>
> Colleagues,
>
> 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 <http://www.research.gov/research-portal/appmanager/
> base/desktop?_nfpb=true&_pageLabel=research_page_n_about_por>or click
> here <http://www.research.gov/common/attachment/Desktop/
> aboutprojectreportsbibtextutorial2.htm?wtlink=Research.gov%20Test%20Page>.
>
> 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 <http://www.research.gov/
> common/attachment/Desktop/aboutprojectreportstutorial.htm>, which
> highlights the process and tools available to complete and submit a project
> report.
>
> We hope that you find these tutorials helpful. If you have any questions,
> please contact us at feedback at research.gov <mailto:feedback at research.gov>.
>
> Sincerely,
>
> The Research.gov Team at the National Science Foundation
>
>
>
> You are receiving this message because you have subscribed to NSF’s System
> Updates listserv. To unsubscribe, please email system_updates-unsubscribe-
> request at listserv.nsf.gov <mailto:system_updates-
> unsubscribe-request at listserv.nsf.gov>
>
>
>
> --
> *Jenny Dugan*
> Marine Science Institute
> University of California
> Santa Barbara, CA 93106-6150
> Phone: 805-893-2675
> email: j_dugan at lifesci.ucsb.edu
> http://msi.ucsb.edu/people/research-scientists/jenny-dugan
> SBC LTER: http://sbc.lternet.edu/index.html
>
>
>
> _______________________________________________
> Eml-dev mailing list
> Eml-dev at ecoinformatics.org
> http://lists.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/eml-dev
>



-- 
Carl Boettiger
UC Santa Cruz
http://carlboettiger.info/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nceas.ucsb.edu/ecoinformatics/pipermail/eml-dev/attachments/20140606/e4096721/attachment.html>


More information about the Eml-dev mailing list