ris reader (Research Information Systems)

ris_reader(x)

Arguments

x

(character) a file path or string

Value

an object of class handl; see handl for more

References

RIS tags https://en.wikipedia.org/wiki/RIS_(file_format)

See also

Other readers: bibtex_reader(), cff_reader(), citeproc_reader(), codemeta_reader()

Other ris: ris_writer()

Examples

z <- system.file('extdata/crossref.ris', package = "handlr") ris_reader(z)
#> <handl> #> from: ris #> many: FALSE #> count: 1 #> first 10 #> id/doi: https://doi.org/10.7554%2felife.01567
z <- system.file('extdata/peerj.ris', package = "handlr") ris_reader(z)
#> <handl> #> from: ris #> many: FALSE #> count: 1 #> first 10 #> id/doi: https://doi.org/10.7717%2fpeerj.5783
z <- system.file('extdata/plos.ris', package = "handlr") ris_reader(z)
#> <handl> #> from: ris #> many: FALSE #> count: 1 #> first 10 #> id/doi: https://doi.org/10.1371%2fjournal.pone.0205444
# from a string z <- system.file('extdata/crossref.ris', package = "handlr") my_string <- ris_writer(ris_reader(z)) class(my_string)
#> [1] "character"
ris_reader(my_string)
#> <handl> #> from: ris #> many: FALSE #> count: 1 #> first 10 #> id/doi: https://doi.org/10.7554%2felife.01567
# many z <- system.file('extdata/multiple-eg.ris', package = "handlr") ris_reader(z)
#> <handl> #> from: ris #> many: TRUE #> count: 2 #> first 10 #> id/doi: https://doi.org/10.5438%2f4k3m-nyvg #> id/doi: https://doi.org/10.4067%2fs0718-48082015000300006