Giter VIP home page Giter VIP logo

splitref's Introduction

Rayyan helper functions

Set of R functions to perform and automate tasks for the screening of papers for systematic reviews and meta-analysis using Rayyan software (Ouzzani et al., 2016).

Last updated: 24/01/2023

R version: 4.2.2

https://coraliewilliams.github.io/splitref/vignette_rayyan_helper.html


Functions to randomly select and split a list of references from an exported Rayyan project (https://rayyan.ai/) for a pilot assessment or for a collaborative Rayyan project.

  • getpilot : randomly select n number of papers from file.

  • splitref_prop : randomly split dataframe (reference list) between two collaborators.

  • random_split : randomly split dataframe (reference list) between k collaborators.

splitref's People

Contributors

coraliewilliams avatar

Stargazers

 avatar

Watchers

 avatar  avatar

splitref's Issues

fix getpilotref

A few things to fix in getpilotref:

  • refs are not drawn randomly
  • take in object, not a file
  • return objects, with option to return files
  • test if n parameter value makes sense
  • test if input data frame makes sense

Improve splitref: breakdown into 3 functions

Breakdown splitref into three functions:

1. splitref_two
Split references amongst two collaborators (allowing different proportions for splitting).

  • change arguments
  • try another way of assigning props

2. splitref_k
Split references amongst multiple collaborators (allowing for only an equal proportion of splits).

3. spiltref_kprop (to do later on)
Split references amongst multiple collaborators (allowing different proportions for splitting).

Future improvements

  • Add RIS formatting for export to be used in Rayyan (see code from Patrice below)
  • Draft function for fast exclusion labelling along PICO statement
# format for RIS export
deduplicated_refs<- mutate(deduplicated_refs, source_type=ifelse(is.na(source_type)=="TRUE", "JOUR", source_type)) # Add source type where missing
deduplicated_refs <- dplyr::select(deduplicated_refs, source_type, title, author, source, abstract, year, doi, volume, issue, start_page, end_page, language, keywords) 

Improve splitref function

A few things to fix in splitref function:

  • single prop value is ignored and not tested if makes sense for given n
  • sum of prop value is not tested if makes sense
  • take in object, not a file path
  • return objects, with option to return files
  • allow any sensible n parameter value
  • test if input data frame makes sense

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.