Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/leeper/pdfcount

An R Shiny App to Count Words in a PDF Document
https://github.com/leeper/pdfcount

latex pdf r shiny word-count word-counting

Last synced: about 2 months ago
JSON representation

An R Shiny App to Count Words in a PDF Document

Awesome Lists containing this project

README

        

# pdfcount

[![CRAN](https://www.r-pkg.org/badges/version/pdfcount)](https://cran.r-project.org/package=pdfcount)
![Downloads](https://cranlogs.r-pkg.org/badges/pdfcount)
[![Travis Build Status](https://travis-ci.org/leeper/pdfcount.png?branch=master)](https://travis-ci.org/leeper/pdfcount)
[![codecov.io](https://codecov.io/github/leeper/pdfcount/coverage.svg?branch=master)](https://codecov.io/github/leeper/pdfcount?branch=master)

This is a simple package and shiny app designed to count words in a PDF document, for example generated by LaTeX.

You can use the package locally:

```R
# install
remotes::install_github("leeper/pdfcount")

# load
library("pdfcount")

# count
rintro <- file.path(Sys.getenv("R_HOME"), "doc", "manual", "R-intro.pdf")
word_count(rintro)
```

Or, you can use it as a shiny app. A demo runs live at: https://leeper.shinyapps.io/pdfcount/