db_write_notes: Write a notes dataframe to the database

Description Usage Arguments Value

View source: R/glucose.R

Description

For backwards compatibility, it allows a table in cgmr original notes_records format.

Usage

1
db_write_notes(con, notes_df, user_id = 1234, dry_run = TRUE)

Arguments

con

valid database connection

notes_df

new valid glucose dataframe to write to this database 'glucose_records' table.

user_id

user ID

dry_run

logical (default = TRUE) don't actually write to database.

Value

the records written to the database


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