Description Usage Arguments Value
View source: R/read_data_utils.R
Search the default database for the most recent (aka latest) timestamp
Note: doesn't currently work for tables other than glucose_records
1 2 3 4 5 6 | max_date_for_user(
conn_args = config::get("dataconnection"),
user_id = 1234,
fromDate = "2019-11-01",
table_name = conn_args$glucose_table
)
|
conn_args |
valid database connection |
user_id |
user ID |
fromDate |
data object representing the first date to return |
table_name |
the table in which to find the latest record (currently fixed at |
a date object representing the most recent record in the database for this user. NA if there are no records.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.