Description Usage Arguments Value Examples
For best use with this function it is best that data frames have values for the following columns:
Character vector containing the title of each document
Character vector containing the name of the associated author
Vector of publication dates in either the "Date","POSIXct", or "POSIXt" format
Dates should be one of the following forms:
yyyymmdd hh:mm:ss ex.("20170806 00:00:00")
yyyy-mm-dd ex.("2017-08-06")
yyyymmdd ex.("20170806")
mm-dd-yyyy ex.("08-06-2017")
dd-mm-yyyy ex.("06-08-2017")
ddmmyyyy ex.("06082017")
Character vector of associated url links
Character vector of associated publication sources
Numeric vector of associated identification numbers of each document
Character vector containing the body of the text to be analyzed
1 | corpusPrep(data.td)
|
data.td |
A tidy dataset |
Returns the corpus with correct column names and classes for further analysis
1 | clean_data<-corpusPrep(mayAritcles)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.