powered by
webtris_report
webtris_report(sites, start_date, end_date, report_type, maxrequest = 10000, verbose = FALSE, return_raw = FALSE)
siteId(s) i.e. 7 or '7' or c('7','8', '9')
in format 'DDMMYYYY' or as a Date object
options are: "daily", "annual-totals", "annual-monthly", "monthly-summary", "monthly-daily", "monthly-daily-aggregate", "monthly-hourly-aggregate"
Maximum number of rows to return per request (optional)
Prints the API call
Return a raw httr response rather than a data frame
a dataframe (default) or httr object (if return_raw=TRUE)
# NOT RUN { webtris_report(sites=c("7"), start_date="01-01-2017", end_date="01-03-2017", report_type ='daily') # }
Run the code above in your browser using DataLab