Description Usage Arguments Details Value
Drive the category counter. See details for possible extra arguments.
1 |
dictionary |
a content analysis dictionary |
files |
a list of file and folder names |
... |
extra arguments to control the process. See Details. |
Optional arguments are
locale
: Locale in ISO format, e.g. "en_US".
Defaults to whatever get_locale
returns
encoding
: the file encoding of the files
. Defaults to the
whatever get_encoding
returns
output
: the folder that the results will land in before being served
back as a data.frame. Defaults to a temporary folder
old.matching
: whether to use the old style pattern matching
(behaves like JFreq but also risks double counting when multiple patterns match
a string). Defaults to FALSE
progress
: Whether to show the progress of the java code as it goes
through the files
This function also dumps the location of the temporary folder where the results landed to standard error in case you want the original csv data file and yoshikoder dictionary translation.
The output is a data.frame with documents as row names, dictionary categories as column names and counts of how many words in each document matched patterns in that category. Dictionaries are hierarchically structured so category names are sorted depth first and
a data.frame containing the content analysis results
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.