Description Usage Arguments Details Value Examples
Produces a time series plot of the frequency of documents within a corpus containing a specified keyword. Points are delineated by publication date.
1 | kwsearch(data.td, keyword)
|
data.td |
A tidy dataset |
keyword |
A user defined keyword |
This function first identifies each document which contains the user
specified keyword
and omits all those which do not. It then
identifies dates listed in the date column and sums the number of documents
associated with each identified calendar date, generating a line plot to
represent these findings. This output is useful in highlighting increases
in document production surrounding a specific topic, which may identify
blocks of time in which interesting events may have occurred. Using the
'iso.date' function, these observed increases can be converted into subset
corpuses used for further analysis.
Time series line plot of documents in data.td
which contain keyword
by day
1 2 | kwsearch(Articles,"hurricane")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.