load_libreview_csv_from_directory: Unified dataframe for all glucose CSV files in 'path'

Description Usage Arguments Value

View source: R/glucose.R

Description

Read glucose files in path and return one big dataframe with all glucose values. As a neat trick, look up the user_id based on entries in user_df_from_libreview and add that to the dataframe. Assumes it's a valid file if it has the string "glucose" in its name.

Usage

1
load_libreview_csv_from_directory(path = config::get("tastermonial")$datadir)

Arguments

path

file path to a directory of libreview CSV files.

Value

dataframe including user_id matching those for data in the notes_records


personalscience/tasterdb documentation built on Dec. 22, 2021, 7:44 a.m.