Description Details Methods Note Examples
Reports class
Reports class
xxx
new()
ChmpReports$new(conn, id)
conn
a connection object. see ChmpClient
id
a report id. optional, but required for most methods
print()
ChmpReports$print(x, ...)
all()
ChmpReports$all( fields = NULL, exclude_fields = NULL, count = 10, offset = 0, type = NULL, before_send_time = NULL, since_send_time = NULL, key = NULL, parse = TRUE, ... )
fields
(list/vector) A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.
exclude_fields
(list/vector) A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation.
info()
ChmpReports$info( fields = NULL, exclude_fields = NULL, key = NULL, parse = TRUE, ... )
fields
(list/vector) A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.
exclude_fields
(list/vector) A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation.
abuse_reports()
ChmpReports$abuse_reports( report = NULL, fields = NULL, exclude_fields = NULL, key = NULL, parse = TRUE, ... )
fields
(list/vector) A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.
exclude_fields
(list/vector) A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation.
advice()
ChmpReports$advice( fields = NULL, exclude_fields = NULL, key = NULL, parse = TRUE, ... )
fields
(list/vector) A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.
exclude_fields
(list/vector) A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation.
open_details()
ChmpReports$open_details( fields = NULL, exclude_fields = NULL, count = 10, offset = 0, since = NULL, key = NULL, parse = TRUE, ... )
fields
(list/vector) A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.
exclude_fields
(list/vector) A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation.
click_details()
ChmpReports$click_details( link_id = NULL, members = FALSE, subscriber_hash = NULL, fields = NULL, exclude_fields = NULL, count = 10, offset = 0, key = NULL, parse = TRUE, ... )
fields
(list/vector) A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.
exclude_fields
(list/vector) A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation.
domain_performance()
ChmpReports$domain_performance( fields = NULL, exclude_fields = NULL, key = NULL, parse = TRUE, ... )
fields
(list/vector) A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.
exclude_fields
(list/vector) A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation.
eepurl()
ChmpReports$eepurl( fields = NULL, exclude_fields = NULL, key = NULL, parse = TRUE, ... )
fields
(list/vector) A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.
exclude_fields
(list/vector) A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation.
email_activity()
ChmpReports$email_activity( subscriber_hash = NULL, fields = NULL, exclude_fields = NULL, count = 10, offset = 0, since = NULL, key = NULL, parse = TRUE, ... )
fields
(list/vector) A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.
exclude_fields
(list/vector) A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation.
locations()
ChmpReports$locations( fields = NULL, exclude_fields = NULL, count = 10, offset = 0, key = NULL, parse = TRUE, ... )
fields
(list/vector) A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.
exclude_fields
(list/vector) A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation.
sent_to()
ChmpReports$sent_to( subscriber_hash = NULL, fields = NULL, exclude_fields = NULL, count = 10, offset = 0, key = NULL, parse = TRUE, ... )
fields
(list/vector) A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.
exclude_fields
(list/vector) A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation.
sub_reports()
ChmpReports$sub_reports( fields = NULL, exclude_fields = NULL, key = NULL, parse = TRUE, ... )
fields
(list/vector) A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.
exclude_fields
(list/vector) A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation.
unsubscribed()
ChmpReports$unsubscribed( subscriber_hash = NULL, fields = NULL, exclude_fields = NULL, count = 10, offset = 0, key = NULL, parse = TRUE, ... )
fields
(list/vector) A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.
exclude_fields
(list/vector) A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation.
clone()
The objects of this class are cloneable with this method.
ChmpReports$clone(deep = FALSE)
deep
Whether to make a deep clone.
not all routes are implemented thus far
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | ## Not run:
(conn <- ChmpClient$new())
(x <- ChmpReports$new(conn))
x$all()
x$all(count = 2)
x$all(count = 2, offset = 2)
(x <- ChmpReports$new(conn, id = "<id>"))
x$info()
x$info(parse = FALSE)
x$info(fields = "clicks")
x$abuse_reports()
x$advice()
x$open_details()
x$click_details()
# x$click_details("<id>")
# x$click_details("<id>", members = TRUE)
# x$click_details("<id>", members = TRUE, subscriber_hash = "<hash>")
x$domain_performance()
x$eepurl()
x$email_activity()
x$locations()
x$sent_to()
x$sub_reports()
x$unsubscribed()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.