Skip to contents

Adds up the contributions of each day of the week, Monday first, in the 12 full months of the contributions card. The days are those of GitHub, in UTC.

Usage

weekday_data(d)

Arguments

d

The numbers of the card, from card_data().

Value

A data frame of label, the day as Mon to Sun, and value.

Examples

rghcard:::weekday_data(rghcard:::card_data(example_stats(), 30))
#>   label value
#> 1   Mon   180
#> 2   Tue   210
#> 3   Wed   234
#> 4   Thu   184
#> 5   Fri   214
#> 6   Sat    85
#> 7   Sun   103