Description Usage Arguments Examples
This function hits the Suma API for the selected initiative ID during the given date range.
1 2 3 |
url |
The base url, defaults to Dartmouth's https://library.dartmouth.edu/suma/ |
initiativeId |
The desired initiative to retrieve data for, defaults to 1 |
startDate |
Desired start date, defaults to beginning of current month |
endDate |
Desired end date, defaults to today's date |
sepDates |
Creates columns for easy grouping and sorting of date and time from sessionStart |
unnest |
If TRUE, separates counts with multiple activities into one row per activity |
1 | df <- suma_from_api("https://library.dartmouth.edu/sumaserver/", 1, "2016-04-01", "2016-08-01")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.