Skip to contents

Write corpus works in RIS format for import into Rayyan. Work IDs appear in the RIS ID field and a note; missing fields are omitted.

Usage

sm_export_rayyan(corpus, path)

Arguments

corpus

An sm_corpus.

path

Output file path.

Value

path invisibly.

Details

Keep the ID or the scimapR work_id note when exporting decisions.

Examples

path <- tempfile(fileext = ".ris")
sm_export_rayyan(sm_example_corpus(n_works = 2), path)
#> ✔ Exported 2 works to /tmp/RtmpicujyO/file1c5440ad9437.ris
readLines(path, n = 3)
#> [1] "TY  - JOUR"                                                 
#> [2] "ID  - W000000001"                                           
#> [3] "TI  - Gene Expression in immune checkpoint: a meta-analysis"
unlink(path)