-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting Google Analytics Metrics #11
Conversation
R/google-analytics.R
Outdated
"dateRanges" = list( | ||
"startDate" = start_date, | ||
"endDate" = end_date), | ||
list(name = "activeUsers"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a list of the stats I think are useful. I think it makes sense to functionalize this in such a way that allows folks to provide their own desired metrics they'd like to use. But that will probably be a future PR.
What do you think of outputting tibbles instead of dataframes? The googlesheets4 package does this here https://github.com/tidyverse/googlesheets4#read , and it looks much nicer in the console. The authors of googlesheets4 uses |
The Usage functions work, but I think the trick now is to coerce those unpretty lists into readable tibbles. |
Co-authored-by: Howard Baek <[email protected]>
Purpose/implementation Section
What changes are being implemented in this Pull Request?
Goals: We want any useful stats from Google Analytics about our many many websites and courses.
What was your approach?
Ideally we can just call one function that collects an entire GitHub organization's repos' metrics.
Usage