Description Usage Arguments Value Methods (by class) Examples
View source: R/account_logs_retrosent.R
logs_retrosent()
can be used to find retrosends that have occurred
for a particular account()
or list of accounts. If you want
to specify a date range, use logs()
and pipe its results
through to logs_retrosent()
.
1 2 3 4 5 6 7 8 9 10 11 12 13 | logs_retrosent(x, ...)
## S3 method for class 'data.frame'
logs_retrosent(x, ...)
## S3 method for class 'character'
logs_retrosent(x, ..., .show.progress = interactive())
## S3 method for class 'brandseyer2.account'
logs_retrosent(x, ...)
## S3 method for class 'list'
logs_retrosent(x, ..., .show.progress = interactive())
|
x |
A data frame of logs, or an account object (or list of account objects) |
... |
Extra arguments |
.show.progress |
When reading logs, whether to show a progress bar or not. See |
A tibble giving retrosend information, such as the crowd, priority and filter used.
The requested
column is the number of mentions requested to be sent to the crowd,
while the sent
column is the number actually sent.
data.frame
: Reading from a data.frame or tibble of log information, such as that given
by logs()
.
character
: From a vector of account codes.
brandseyer2.account
: From an account object
list
: From a list of account objects.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | ## Not run:
account("TEST01AA") %>%
logs_retrosent()
account_list() %>%
logs() %>%
logs_retrosent()
# Pull date for a particular time range
account("TEST01AA") %>%
logs(Sys.Date() - lubridate::weeks(1)) %>%
logs_retrosent()
# Pull data from a particular date up to today.
account("TEST01AA") %>%
logs(lubridate::ymd("2018/08/01")) %>%
logs_retrosent()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.