• Stars
    star
    128
  • Rank 281,044 (Top 6 %)
  • Language
    JavaScript
  • License
    Other
  • Created over 7 years ago
  • Updated about 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

RStudio Addin, function, & shiny app for the write-good linter πŸ“

gramr

Travis-CI Build Status Coverage Status Last-changedate minimal R version Licence

The goal of gramr is to help R programmers who can't write good and and wanna learn to do other stuff good too by checking a RMarkdown document for grammatical errors.

This package wraps the command line tool, write-good to provide grammar checking functions for Rmd or md documents. It can be used as an RStudio Addin, or from the console or command line by supplying an Rmd or md filename.

Installation

You can install gramr from github with:

# install.packages("devtools")
devtools::install_github("ropenscilabs/gramr")

Examples

write_good_ip(): run the write-good linter on text in a currently active Rmd file in RStudio

write_good_file("my_file.Rmd"): run the write-good linter on text in an Rmd file (RStudio not required)

run_grammar_checker("example.rmd"): run the write-good linter interactively

Example Output:

> write_good_file("tests/testthat/test.Rmd")

#  index offset                              reason
#1    15     12 "been defined" may be passive voice
#2    49      8       "suddenly" can weaken meaning

Contributing

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

Acknowledgements

Thanks to Brian Ford for the development of write-good!

More Repositories

1

shinyLP

A R package for Bootstrap Components to make Landing Home Pages for Shiny 🌐
R
114
star
2

shinyGEO

Gene Expression Omnibus Analysis with Shiny πŸ”¬
CSS
40
star
3

ml-flashcards

Extracting data from Twitter for #machinelearningflashcards πŸ€–
HTML
40
star
4

ttbbeer

An R Dataset Package for US Beer Statistics From TTB 🍺
R
23
star
5

depaul

Coursework from DePaul MS in Predictive Analytics
HTML
9
star
6

user2016-notes

Notes for tutorials and sessions at useR! 2016 Conference πŸ“
7
star
7

talks

Materials for talks (presentations, lightening talks & posters) πŸ’¬
HTML
6
star
8

hartford-police

Shiny Flexdashboard of Hartford Crime Incidents (2005 - Current) πŸš”
5
star
9

dumas

The Personal R Package of Jasmine Dumas πŸ“¦
R
4
star
10

jasdumas.github.io

A brief web page about me (don't fork this version) πŸ˜„
HTML
4
star
11

odsc17-notes

Notes for talks and sessions at Open Data Science Conference 2017 | East β›΅
3
star
12

ct-election-2016

How did this happen ?! πŸ‹
HTML
3
star
13

hipster-veggies

Find Select Trending Vegetables from Twitter πŸ₯•
2
star
14

hartford-snow-tows

A quick exploratory look into the 'Towed Vehicles' Data set from 2/2/2015 due to snow conditions in Hartford, CT
HTML
2
star
15

jms-election-analytics

Volunteer Election Analytics for Jamie McLeod-Skinner (Oregon's 2nd Congressional District election, 2018) 🍩
1
star
16

nasa-datanauts

R Notebooks and projects for the NASA Datanauts Spring 2017 program 🌌
HTML
1
star
17

scrape

web scraping
HTML
1
star
18

ct-brewery-ratings

Web Scraping Craft Brewery Beer Ratings From BeerAdvocate.com 🍻
HTML
1
star
19

the-republic

Local Connecticut Election & Voter Data Analytics Projects πŸ‡ΊπŸ‡Έ
HTML
1
star
20

intro-to-java

I'm learning Java for my MS-CS Program at Johns Hopkins Engineering for Professionals
Java
1
star
21

image-clf-keras-shiny

Source code for the app πŸ¦‹
R
1
star
22

hipsterveggies

intelligent locally-grown subculture πŸ…πŸŒΆοΈπŸ₯•
JavaScript
1
star
23

shinyintro

An htmlwidget for the Intro.js library
JavaScript
1
star
24

regression

LM's and GLM's
HTML
1
star
25

leafbarrow

Reimagining Fall Cleanup
HTML
1
star
26

bobs-noms

Extracting data from twitter for @hrbrmstr's #nom foodie images πŸ–
1
star