glucose_for_food_df: return a dataframe of rows in the database where food matches...

Description Usage Arguments Value

View source: R/extra.R

Description

Search the notes database for records indicating foodname and return just those rows that contain that food.

Usage

1
2
3
4
5
glucose_for_food_df(
  conn_args = config::get("dataconnection"),
  user_id = 1235,
  foodname = "blueberries"
)

Arguments

conn_args

database connection

user_id

user ID

foodname

a string indicating a specific food

Value

a valid glucose dataframe containing records matching food


personalscience/psi-shiny-cgm documentation built on Dec. 22, 2021, 7:43 a.m.