metajam icon indicating copy to clipboard operation
metajam copied to clipboard

Add citation

Open isteves opened this issue 7 years ago • 5 comments

  • function to generate citation of dataset
  • citation field in summary_metadata.csv

isteves avatar Jun 27 '18 00:06 isteves

Chatted with Rushi about this, and it looks like the citation is currently generated from the EML content.

It's possible to query crossref for doi's, and there may be some integration we can do to get citation information into a format that is zotero/mendeley/etc friendly.

Citations Crossref endpoint: https://api.crossref.org/works/10.1007/S10040-016-1481-0 R package: https://github.com/ropensci/rcrossref

Other notes:

  • LTER uses the same citation format that we use, except with "Date accessed" at the end
  • the DataONE citation format is based on some Google? standard

isteves avatar Jun 28 '18 00:06 isteves

Some discussion about citations in the dataspice repo: https://github.com/ropenscilabs/dataspice/issues/57

their thoughts: An R object could also contain the citation (perhaps as an R bibitem object, which R can already turn into either bibtex or text-based citation). i.e. simply x$citation; or we could have a methods-y interface like citation(x)

isteves avatar Jun 28 '18 23:06 isteves

Looks like crossref does not work for ADC (and probably all? DataONE doi's). We need to use DataCite instead: https://api.datacite.org/works/10.18739/A2TB0XV0F

also works with the rdatacite package: dc_work(doi = "10.18739/A2TB0XV0F")

Pros:

  • date published given without needing to do any logic
  • resolvable doi (https://doi.org/...)
  • repository dataset page URL
  • repository name (Arctic Data Center)
  • dataset title

Problems:

  • author field unusuable
  • possible case sensitivity

isteves avatar Jun 28 '18 23:06 isteves

Another related issue: https://github.com/NCEAS/metacatui/issues/491

isteves avatar Jun 29 '18 19:06 isteves

from @rushirajnenuji: screen shot 2018-08-24 at 8 54 02 am

response:

@article{2018,
    doi = {10.3390/f9010019},
    url = {https://doi.org/10.3390%2Ff9010019},
    year = 2018,
    month = {jan},
    publisher = {{MDPI} {AG}},
    volume = {9},
    number = {1},
    pages = {19},
    author = {and},
    title = {The Role of Environmental Filtering in Structuring Appalachian Tree Communities: Topographic Influences on Functional Diversity Are Mediated through Soil Characteristics},
    journal = {Forests}
}

brunj7 avatar Aug 24 '18 16:08 brunj7