Description Usage Arguments Value
View source: R/read_data_utils.R
return a dataframe of the Glucose values for a timeLength
following foodname
appearing in notes_records
.
This function calls the database directly
and is intended to work standalone, without other functions.
1 2 3 4 5 6 7 8 | food_times_df(
conn_args = config::get("dataconnection"),
user_id = NULL,
timeLength = 120,
prefixLength = 0,
foodname = "watermelon",
db_filter = function(x) { x }
)
|
conn_args |
database connection |
user_id |
user ID |
timeLength |
number of minutes for the glucose record to show after the food was eaten. |
prefixLength |
number of additional minutes to add before the starttime. |
foodname |
character string representing the food item of interest |
dataframe
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.