Skip to content

Package to process Rayyan outputs in R

License

MIT, GPL-3.0 licenses found

Licenses found

MIT
LICENSE
GPL-3.0
LICENSE.md
Notifications You must be signed in to change notification settings

befriendabacterium/rayyanR

Repository files navigation

rayyanR

Project Status: Active - The project has reached a stable, usable state and is being actively developed.

R ‘package’ to process Rayyan outputs

Overview and installation

RayyanR, an R ‘package’ to process dataframes outputted from the Rayyan screening platform for systematic review (https://rayyan.ai).

remotes::install_github("https://github.com/befriendabacterium/rayyanR")

Issues and suggestions

Please report any issues and suggestions on the issues link for the repository.

Package overview

Currently a one-function (‘parse_rayyan()’) package to parse bibliographic dataframes outputted from Rayyan, splitting up the ‘notes’ column into Inclusion/Exclusion decision, Labels, and Exclusion Reasons.

#install.packages('synthesisr')
#install.packages('plyr')
library(synthesisr)
library(plyr)
library(rayyanR)
#read in a rayyan exported bibliography file (example here is the Tinea Update one from Rayyan)
rayyan_biblio<-synthesisr::read_ref('https://raw.githubusercontent.com/befriendabacterium/rayyanR/main/example_inputs/tinea_update.ris')

#parse rayyan biblio
rayyan_biblio_cleaned<-rayyanR::parse_rayyan(rayyan_df = rayyan_biblio)

#print the outputs AND CHECK THEM AGAINST YOUR RAYYAN BIBLIOGRAPHY TO VALIDATE. The total number of records should remain the same and Inclusions and exclusions should equate straightforwardly. However, Maybes here (unlike in Rayyan) are only Maybes by if all reviewers marked them as so, and Conflicts include Maybe-Inclusion/Exclusion type conflicts (in Rayyan a 'conflict' is only an Inclusion-Exclusion type conflict).
summary_df<-plyr::count(rayyan_biblio_cleaned$finaldecision)
colnames(summary_df)<-c('decision','records_n')
print(summary_df)
##   decision records_n
## 1 Conflict         1
## 2 Excluded         1
## 3 Included         2
## 4     <NA>        10

Citing this package

Please cite this package as: Jones ML & Grainger MJ (2021). rayyanR: An R package to process outputs of the Rayyan screening platform for systematic reviews. https://github.com/befriendabacterium/rayyanR.

About

Package to process Rayyan outputs in R

Resources

License

MIT, GPL-3.0 licenses found

Licenses found

MIT
LICENSE
GPL-3.0
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages