Giter VIP home page Giter VIP logo

keywords's Introduction

keywords

{keywords} is a package for supporting systematic reviews. Convert asreview csv exports to ris, generate PRISMA diagrams in R, and extract keywords from PDF.

Installation

{keywords} isn’t yet on CRAN but you can get it from GitHub using:

# install.packages("remotes")
remotes::install_github("conig/keywords")

Generating keywords

To generate keywords, you just need to provide {keywords} with the path to a PDF or a folder of PDFs. Text must be extractable from those PDFs.

An example paper is included in this package which we will use to generate some keywords.

library(keywords)
path_to_pdf = system.file("example.pdf", package = "keywords")

Now we simply provide the number of topics, and keywords we want produced. {keywords} performs topic modelling on the input PDF(s) to return the top words related to each topic.

set.seed(1) # to make the results reproducible

keywords(path_to_pdf,
         n = 5,
         topics = 1)
#> $topic1
#> [1] "drinking"   "indigenous" "australian" "patterns"   "alcohol"

The example paper was a meta-analysis of Indigenous Australian drinking patterns.

PRISMA diagram

To create a PRISMA diagram, you simply need to provide the number of records at each stage of your systematic review, and provide reasons for exclusions. Here’s an example:

prisma(
  database_records = 1250,
  additional_records = 35,
  after_duplicates_removed = 1134,
  fulltext_screened = 60,
  reasons = list(
    "No original data" = 20,
    "TL;DR" = 10,
    "Weird font" = 5,
    "Misc" = 6
  ),
  final = 19
)

keywords's People

Contributors

conig avatar

Stargazers

 avatar

Watchers

 avatar

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.