| auc_calc | Calculate Area Under the Curve of glucose values for a... |
| auc_calc_components | Helper to calculate Area Under the Curve of glucose values... |
| auc_calc_old | Calculate Area Under the Curve of glucose values for a... |
| cgm_demo | Demo the libreviewUI |
| csvFilePathServer | Module server function |
| demo_filter | demo a shiny UI/server combination |
| food_list_db | List all products consumed by 'user_id' |
| food_times_df | Glucose values after eating a specific food |
| food_times_df_fast | Glucose values after eating a specific food (local memory... |
| glucose_df_for_users_at_time | Glucose values for ID after startDate |
| glucose_df_from_db | Read from database a dataframe of glucose values for user_id... |
| glucose_df_from_libreview_csv | Read a standard format Libreview CSV file |
| glucose_df_from_nutrisense | read a Nutrisense export file and convert to the PSI CGM... |
| glucose_for_food_df | return a dataframe of rows in the database where food matches... |
| load_libreview_csv_from_directory | Unified dataframe for all glucose CSV files in 'path' |
| lookup_id_from_name | user_id of a valid name string |
| make_zero_time_df | Normalize time dataframe to zero |
| max_date_for_user | Most recent date in the database for a given user |
| mod_filter_glucose_server | Shiny server to return a valid glucose dataframe |
| mod_filterServer | Shiny module (server) to filter a CGM result based on user... |
| mod_filterUI | Shiny module (UI) to filter CGM result based on user input |
| mod_food2Server | Shiny server to display two food comparisons for one user. |
| mod_food2UI | UI for comparing two foods for a single user |
| mod_foodServer | Plot glucose reaction for all foods that match an input text. |
| mod_foodUI | UI for food-related plots |
| mod_libreview_plotServer | Make a glucose chart |
| mod_libreviewUI | UI for Libreview plots |
| name_from_libreview_file | name of the person associated with a Libreview glucose file. |
| normalize_to_zero | normalize all 'df$value' to a range from 0 to 1 |
| normalize_value | normalize with prefixlength |
| NOTES_COLUMNS | Possible values for 'Activity' column in Notes. |
| notes_df_from_csv | Notes dataframe from a CSV |
| notes_df_from_glucose_table | Return all 'glucose_records' that have something in the notes... |
| notes_df_from_notes_table | Read notes dataframe from database |
| old_food_times_df | Glucose values after eating a specific food |
| old_normalize_value | return a new df where value are normalized to start from... |
| plot_food_compare | plot differences in glucose response to a particular food |
| plot_glucose | Plot a glucose dataframe |
| plot_notes_overlay | Generate a ggplot2 overlay for notes dataframe |
| psiCGM-package | psiCGM: Personal Science CGM Analysis Web App |
| psi_theme | Stylized theme for consistent plot style |
| run_app | Personal Science Web App |
| sample_libreview_df | Sample Libreview CSV Download |
| scaled_axis | Adjust x axis depending on time scale of glucose data frame |
| table_df_from_db | Load all rows from a database table and return as a dataframe |
| taster_df | Read a Tastermonial Airtable file from CSV |
| user_df_from_db | All user records in the database |
| user_df_from_libreview | Table of all registered users |
| username_for_id | Find username associated with an ID |
| zero_time | Convert the timestamp into time objects |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.