Description Usage Arguments Value Author(s) Examples
Scrap text from PDFs.
1 2 3 4 5 6 | extract_text(sources=".",
type="pdf",
word.length.min=4,
word.length.max=Inf,
freq.min=10,
freq.max=Inf)
|
sources |
Either the name of a file (ending with ".pdf"), a directory, nothing to scrap all the PDFs of the current directory, a html link or a list of links. |
type |
"pdf" or "html". |
word.length.min |
Keep only words with minimum length x. |
word.length.max |
Keep only words with maximum length x. |
freq.min |
Keep only words that appear more than x times. |
freq.max |
Keep only words that appear less than x times. |
data |
A dataframe containing two columns for words and their frequency. |
Dominique Makowski
1 2 3 | require(neuropsychology)
# text <- extract_text() # In a folder containg some PDFs.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.