glucose_df_from_libreview_csv: Read a standard format Libreview CSV file

glucose_df_from_libreview_csvR Documentation

Read a standard format Libreview CSV file

Description

Read a valid libreview CSV file and return a dataframe and new user id Since Libreview files don't already include a user ID, append one to the dataframe that is returned. Importantly, datetimes are assumed to be Sys.timezone().

Usage

glucose_df_from_libreview_csv(
  file = system.file("extdata", package = "cgmr", "Firstname2Lastname2_glucose.csv"),
  user_id = 1234
)

Arguments

file

path to a valid Libreview CSV file

user_id

new user ID to be appended to the dataframe

Value

a canonical glucose value dataframe


personalscience/cgmr documentation built on July 2, 2023, 12:47 a.m.