A collection of tools for writing research.
Nicholas Potter (potterzot@gmail.com)
This is the github repository for the R
package researchTools
. The tools include:
find_weasels
returns a count of words we want to avoid in writing, so called "weasel" words as termed by Matt Might. Additional words to avoid have been added, including those suggested by Dierdre McCloskey in Economical Writing. The idea is to remove them from writing as much as possible. An example use (the ones I use in my makefiles) is:
researchTools::find_weasels("draft.Rmd", outfile = "weasels.csv")
which will create a file "weasels.csv" that contains a count of all weasel words in the document "draft.Rmd".
Code: MIT License, 2017, Nicholas A Potter
Data:
knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "README-" )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.