ll_get_device_data_logs | R Documentation |
Returns data logs from the database joined with experiments, devices, and experiment_device_data (for prefix only) tables so filter conditions can be applied on these as well. Sorted by descending order (i.e. latest record first). Note that the group_id filter restricts the selected experiments, device data may theoretically come from devices not (or no longer) associated with the same group although this is rarely the case.
ll_get_device_data_logs(
group_id = default(group_id),
filter = NULL,
select = c(exp_id, device_id, device_name, device_data_log_id, datetime, data_idx,
starts_with("data_key"), starts_with("data_")),
max_rows = NULL,
convert_to_TZ = Sys.timezone(),
con = default(con),
quiet = default(quiet)
)
filter |
what filter conditions to apply, if any (forwarded to filter) |
select |
what columns to select (forwarded to select), by default a selection of the most commonly used columns |
max_rows |
if provided, only selects the indicated number of rows (more efficient this way than part of the filter) |
convert_to_TZ |
converts the log_datetime to the provided timezone (by default the system's local timezone stored in |
device data logs
Other data logs functions:
ll_plot_device_data_logs()
,
ll_read_device_data_logs_from_file()
,
ll_write_device_data_logs_to_file()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.