get_issues_stats | R Documentation |
Prepare statistics from the pulled issues data.
get_issues_stats(
issues,
time_aggregation = c("year", "month", "week", "day"),
group_var
)
issues |
A |
time_aggregation |
A character, specifying time aggregation of statistics. |
group_var |
Other grouping variable to be passed to |
To make function work, you need first to get issues data with
GitStats
. See examples section.
A table of issues_stats
class.
## Not run:
my_gitstats <- create_gitstats() %>%
set_github_host(
token = Sys.getenv("GITHUB_PAT"),
repos = c("r-world-devs/GitStats", "openpharma/visR")
) |>
get_issues(my_gitstats, since = "2022-01-01") |>
get_issues_stats(
time_aggregation = "month",
group_var = state
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.