read_data {whippr} | R Documentation |
Read data from metabolic cart
Description
It reads the raw data exported from the metabolic cart.
Usage
read_data(
path,
metabolic_cart = c("cosmed", "cortex", "nspire", "parvo", "geratherm", "cardiocoach",
"custom"),
time_column = "t",
work_rate_column = NULL
)
Arguments
path |
Path to read the file from. |
metabolic_cart |
Metabolic cart that was used for data collection. Currently, 'cosmed', 'cortex', 'nspire', 'parvo', 'geratherm', and 'cardiocoach' are supported. Additionaly, there is an option called 'custom' that supports files that do not have a metabolic cart-specific format. |
time_column |
The name (quoted) of the column containing the time. Depending on the language of your system, this column might not be "t". Therefore, you may specify it here. Default to "t". |
work_rate_column |
Default is |
Value
a tibble