The contributions up to the day of the collection, their totals in each of the 12 full months before it, their streaks, and the commits.
Value
A list: contributions, months (a data frame of date, the first day of each month,
and value), streaks (from streaks()), joined and commits.
Examples
rghcard:::contribution_data(example_stats(), as.Date("2026-12-03"))$months
#> date value
#> 1 2025-12-01 53
#> 2 2026-01-01 94
#> 3 2026-02-01 72
#> 4 2026-03-01 117
#> 5 2026-04-01 97
#> 6 2026-05-01 82
#> 7 2026-06-01 123
#> 8 2026-07-01 146
#> 9 2026-08-01 57
#> 10 2026-09-01 113
#> 11 2026-10-01 94
#> 12 2026-11-01 162