Code Monkey home page Code Monkey logo

refimpact's Introduction

A package to process Impact Case Study files and measure metrics to compare to the awarded impact score for each institution.

Install the package with these R commands:

install.packages("devtools")
devtools::install_github("martingraham/refimpact")

The dependency openNLPmodels.en is not available on CRAN, install this with:

install.packages("openNLPmodels.en", repos = "http://datacube.wu.ac.at/", type = "source")

See http://datacube.wu.ac.at

If you are trying to import pdfs you will need to install the separate xpdf software from here: http://www.foolabs.com/xpdf/home.html and then add the xpdf.exe to your computer's PATH variable so R can call it. If you're using text docs you're fine.

The location of the case study files needs to be stated. The example below shows all the values that can be changed and passed into the R package, but the dirName='WhereYourCaseStudiesAre' is the only one that needs to be set for certain.

here's an example:

mySettings <- list (
    dirName = "C:/*YourDir*/Case Studies",
    boilerPlateTerms = c(
      "Page",
      "Impact case study (REF3b)",
      "Title of case study:",
      "(indicative maximum 100 words)",
      "(indicative maximum 500 words)",
      "(indicative maximum of six references)",
      "(indicative maximum 750 words)",
      "(indicative maximum of 10 references)"
    ),
    sectionHeadings = c(
      "Summary of the impact",
      "Underpinning research",
      "References to the research",
      "Details of the impact",
      "Sources to corroborate the impact|Sources to corroborate impact|References to corroborate the impact" 
    ),
    impactSettings = list(uoa=19, profile="Impact"),
    helperFiles = list(buzzFile1="C:/*YourDir*/buzz.txt", buzzFile2="C:/*YourDir*/busibuzz.txt"),
    doProperCorpus = TRUE,
    topicCount = 10,
    topicIter = 60,
    keepSpaces = FALSE,
    places = TRUE,
    orgs = TRUE,
    people = FALSE
  )

then run

fromTheTop (mySettings)

refimpact's People

Watchers

 avatar  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.