notes_df_from_notes_table: Read notes dataframe from database

Description Usage Arguments Value

View source: R/read_data_utils.R

Description

If notes exist for ID, return all notes in a dataframe

Usage

1
2
3
4
5
6
notes_df_from_notes_table(
  conn_args = config::get("dataconnection"),
  user_id = 1235,
  fromDate = "2019-11-01",
  db_filter = NULL
)

Arguments

conn_args

valid database connection

user_id

user id

fromDate

(optional) earliest date from which to return notes

db_filter

A function for filtering the database. Use instead of from_date or user_id

Value

dataframe representation of all notes for that user


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