View source: R/nutrisense_read.R
nutrisense_results | R Documentation |
Nutrisense export files contain timestamped information about
glucose values, meals, exercise, sleep, and more.
This function is like glucose_df_from_nutrisense()
except it also returns the name of the user.
Important: This function expects an extra line at the top of the Nutrisense raw file.
The first line must say "Nutrisense" and include the full name of the person.
nutrisense_results(
filepath = system.file("extdata", package = "cgmr",
"Firstname3Lastname3_nutrisense.csv"),
user_id = 2000,
tz = "UTC"
)
filepath |
path to a valid Nutrisense data file |
user_id |
new user ID to be appended to the dataframe |
tz |
time zone |
a list (username, glucose_df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.