psi_write_notes: Write a Notes CSV to the notes table in the database

Description Usage Arguments

View source: R/db_load.R

Description

WARNING: this may not work correctly. debug before using psi_write_notes(user_id = 1234, new_table = notes_df_from_glucose_table(user_id = 1234))

Usage

1
2
3
4
5
6
psi_write_notes(
  conn_args = config::get("dataconnection"),
  user_id = 1235,
  new_table = notes_df_from_csv(user_id = 1235),
  dry_run = TRUE
)

Arguments

user_id

user ID

new_table

valid formatted notes dataframe

dry_run

(default = TRUE). Run without actually writing to the database


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