Standard library
Athlete
Inputs that describe the athlete, for programs that ask before they prescribe.
Importing
Documented from coach 0.8.0. Every program depends on the standard library, so all it takes is an import:
import "coach/athlete.cl" Inputs and outputs
age
number input titled “How old are you?”.
height
|cm| input titled “What's your height?”.
weight
|kg| input titled “What's your weight?”.
bmi
|kg/m^2| input titled “What's your BMI?”.
BMI = Body Mass Index
bmr
|kcal/day| input titled “What's your BMR?”.
BMR = Basal Metabolic Rate
resting_heart_rate
|bpm| input titled “What's your resting heart rate?”.
activity_level
number input titled “What's your activity level?”.
Takes one of: 0 Sedentary (little or no exercise), 1 Lightly active (light exercise 1-3 times/week), 2 Moderately active (moderate exercise 3-5 times/week), 3 Very active (hard exercise 6-7 times/week), 4 Extra active (hard exercise 7-14 times/week)
.