Skip to contents

Prints a summary of the statistics: the user and the day of the last collection, the repositories and their stars, the days of the traffic, the contributions, and the number of rows of each table.

Usage

# S3 method for class 'rghcard_stats'
print(x, ...)

Arguments

x

Statistics, from collect_stats(), read_stats() or example_stats().

...

Not used.

Value

x, invisibly.

See also

collect_stats() describes each table of the statistics.

Examples

print(example_stats())
#> GitHub statistics of example-user, collected until 2026-12-03
#> 8 repositories, 101 stars, traffic from 2026-11-03 to 2026-12-02, 4,132 contributions since 2019-03-14
#> Tables: repos (8 rows), views (240 rows), clones (240 rows), traffic (8 rows), referrers (12 rows), pages (9 rows), releases (4 rows), actions (87 rows), languages (15 rows), stars (101 rows), profile (1 rows), contributions (2822 rows), commits (69 rows), contribution_types (8 rows)