ris_reader: ris reader (Research Information Systems)

Description Usage Arguments Value References See Also Examples

View source: R/ris_reader.R

Description

ris reader (Research Information Systems)

Usage

1

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
z <- system.file('extdata/crossref.ris', package = "handlr")
ris_reader(z)

z <- system.file('extdata/peerj.ris', package = "handlr")
ris_reader(z)

z <- system.file('extdata/plos.ris', package = "handlr")
ris_reader(z)

# from a string
z <- system.file('extdata/crossref.ris', package = "handlr")
my_string <- ris_writer(ris_reader(z))
class(my_string)
ris_reader(my_string)

# many
z <- system.file('extdata/multiple-eg.ris', package = "handlr")
ris_reader(z)

Example output

<handl> 
  from: ris
  many: FALSE
  count: 1
  first 10 
    id/doi: https://doi.org/10.7554%2felife.01567
<handl> 
  from: ris
  many: FALSE
  count: 1
  first 10 
    id/doi: https://doi.org/10.7717%2fpeerj.5783
<handl> 
  from: ris
  many: FALSE
  count: 1
  first 10 
    id/doi: https://doi.org/10.1371%2fjournal.pone.0205444
[1] "character"
<handl> 
  from: ris
  many: FALSE
  count: 1
  first 10 
    id/doi: https://doi.org/10.7554%2felife.01567
<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

handlr documentation built on Jan. 13, 2021, 7:27 a.m.