glucose_df_from_libreview_csv: Read a standard format Libreview CSV file

Description Usage Arguments Value

View source: R/read_data_utils.R

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

1
2
3
4
5
glucose_df_from_libreview_csv(
  file = system.file("extdata", package = "psiCGM", "Firstname2Lastname2_glucose.csv"),
  user_id = 1234,
  tz = Sys.timezone()
)

Arguments

file

path to a valid Libreview CSV file

user_id

new user ID to be appended to the dataframe

tz

time zone

Value

a canonical glucose value dataframe


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