Skip to contents

Statistics of a made-up user, example-user, with 30 days of traffic and contributions since March 2019: to try the cards without a token, from plot_contributions_card() and plot_stats_card() to plot_activity_card(), plot_visitors_card(), plot_actions_card() and plot_code_card().

Usage

get_example_stats()

Value

An rghcard_stats object, like read_stats() returns.

See also

collect_stats() collects your own statistics, and read_stats() reads them again.

Examples

get_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 (100 rows), profile (1 row), contributions (2822 rows), commits (69 rows), contribution_types (8 rows) 
#> Each table is a data frame, such as stats$views: ?rghcard_stats describes their columns.