View Source Squeeze.Stats (OpenPace v0.0.1)

The Stats context.

Link to this section Summary

Link to this section Functions

Link to this function

current_activity_streak(user)

View Source

Returns a number for the current activity streak for a user.

Link to this function

pace_bands_for_activity(activity, goal)

View Source
Link to this function

pace_bands_for_race_goal(goal)

View Source

Returns a list of active years in order

examples

Examples

iex> years_active(user)
[2017, 2018, 2019, 2020]