An open API service indexing awesome lists of open source software.

https://github.com/ursjoss/ref2ris

CLI to convert scientific scitations exported from Endnote into RIS format
https://github.com/ursjoss/ref2ris

citation ris

Last synced: 6 months ago
JSON representation

CLI to convert scientific scitations exported from Endnote into RIS format

Awesome Lists containing this project

README

          

image:https://img.shields.io/github/license/ursjoss/ref2ris.svg[LICENSE, link=https://github.com/ursjoss/ref2ris/blob/main/LICENSE.adoc]
image:https://github.com/ursjoss/ref2ris/actions/workflows/build.yml/badge.svg?branch=main[Build Status, link=https://github.com/ursjoss/ref2ris/actions]
image:https://github.com/ursjoss/ref2ris/actions/workflows/github-code-scanning/codeql/badge.svg?branch=main[CodeQL, link=https://github.com/ursjoss/ref2ris/actions/workflows/github-code-scanning/codeql]

== ref2ris - Reference to RIS

ref2ris is a small utility program to convert sciref2risentific references exported from Endnote to RIS format.
The RIS file can be reimported into Endnote.

The motivation came from assisting someone who lost several months of collected data in Endnote.
The data was available in emails, but only in a citation format that could not be imported into Endnote directly.

To run:

Place the text files with the citations in the `data` folder

[console]
.run the cli using just
----
just run data output.ris
----

[console]
.run the cli using gradle directly
----
./gradlew :run --console plain --args="--input=data --output=output.ris"
----

=== Example

[source]
.sample source file `data/samples.txt`
----
Zhang, S., Breitner, S., Stafoggia, M., Donato, F. d., Samoli, E., Zafeiratou, S., Katsouyanni, K., Rao, S., Diz-Lois Palomares, A., Gasparrini, A., Masselot, P., Nikolaou, N., Aunan, K., Peters, A., & Schneider, A. (2024, 2024/12/15/). Effect modification of air pollution on the association between heat and mortality in five European countries. Environmental Research, 263, 120023. https://doi.org/https://doi.org/10.1016/j.envres.2024.120023
Aretz, B., Doblhammer, G., & Heneka, M. T. (2024, Dec). The role of leukocytes in cognitive impairment due to long-term exposure to fine particulate matter: A large population-based mediation analysis. Alzheimers Dement, 20(12), 8715-8727. https://doi.org/10.1002/alz.14320
----

[result]
.resulting `output.ris`
----
TY - JOUR
AU - Zhang, S.
AU - Breitner, S.
AU - Stafoggia, M.
AU - Donato, F. d.
AU - Samoli, E.
AU - Zafeiratou, S.
AU - Katsouyanni, K.
AU - Rao, S.
AU - Diz-Lois Palomares, A.
AU - Gasparrini, A.
AU - Masselot, P.
AU - Nikolaou, N.
AU - Aunan, K.
AU - Peters, A.
AU - Schneider, A.
DA - Dec 15
DO - 10.1016/j.envres.2024.120023
IS - 263
JO - Environmental Research
PY - 2024
SP - 120023
TI - Effect modification of air pollution on the association between heat and mortality in five European countries
U1 - Zhang, S., Breitner, S., Stafoggia, M., Donato, F. d., Samoli, E., Zafeiratou, S., Katsouyanni, K., Rao, S., Diz-Lois Palomares, A., Gasparrini, A., Masselot, P., Nikolaou, N., Aunan, K., Peters, A., & Schneider, A. (2024, 2024/12/15/). Effect modification of air pollution on the association between heat and mortality in five European countries. Environmental Research, 263, 120023. https://doi.org/https://doi.org/10.1016/j.envres.2024.120023
VL - 263
ER -

TY - JOUR
AU - Aretz, B.
AU - Doblhammer, G.
AU - Heneka, M. T.
DA - Dec
DO - 10.1002/alz.14320
EP - 8727
IS - 12
JO - Alzheimers Dement
PY - 2024
SP - 8715
TI - The role of leukocytes in cognitive impairment due to long-term exposure to fine particulate matter: A large population-based mediation analysis
U1 - Aretz, B., Doblhammer, G., & Heneka, M. T. (2024, Dec). The role of leukocytes in cognitive impairment due to long-term exposure to fine particulate matter: A large population-based mediation analysis. Alzheimers Dement, 20(12), 8715-8727. https://doi.org/10.1002/alz.14320
VL - 20
ER -
----