Description Usage Arguments Value
Gets a random set of rows given a seed. That seed defaults to today's date but can be set to be any date. Those data are then cached according to the global settings. If the same seed and settings are run multiple times, this program reads from cached file instead of regenerating those samples as those files are quite large.
1 2 | getSwiftKeyRandomSample(nrows = 100, locale = "en_US",
textType = "twitter", seedDate = lubridate::today())
|
nrows |
number of rows to read. Set to -1 for all lines. |
locale |
which locale to use, can be any of those present. Defaults to "en_US" |
textType |
which file type to use, can be any of those present. Defaults to "twitter"' @param locale which locale to be using |
seedDate |
seed to use, defaults to today's date. |
a character vector of randomly chosen text
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.