Description Usage Arguments Value Examples
webtris_report
1 2 | webtris_report(sites, start_date, end_date, report_type,
maxrequest = 10000, verbose = FALSE, return_raw = FALSE)
|
sites |
siteId(s) i.e. 7 or '7' or c('7','8', '9') |
start_date |
in format 'DDMMYYYY' or as a Date object |
end_date |
in format 'DDMMYYYY' or as a Date object |
report_type |
options are: "daily", "annual-totals", "annual-monthly", "monthly-summary", "monthly-daily", "monthly-daily-aggregate", "monthly-hourly-aggregate" |
maxrequest |
Maximum number of rows to return per request (optional) |
verbose |
Prints the API call |
return_raw |
Return a raw httr response rather than a data frame |
a dataframe (default) or httr object (if return_raw=TRUE)
1 | webtris_report(sites=c("7"), start_date="01-01-2017", end_date="01-03-2017", report_type ='daily')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.