make_log | R Documentation |
Make log
make_log(
.tbl,
survey,
id_col,
id_check = "empty",
question_name,
why = "empty",
logical_test,
new_value,
action,
type,
cols_to_keep
)
.tbl |
A tibble of data |
survey |
The survey sheet from the Kobo tool |
id_col |
Survey id, usually uuid |
id_check |
A string to identify the check |
question_name |
A column of .tbl |
why |
A long character string |
logical_test |
A character string made of a logical expression |
new_value |
Should we suggest a new value? |
action |
A character with "check" as default |
type |
The type of the question "double" or "character" |
cols_to_keep |
Columns to keep in the log |
A tibble with a log for one question and one logical test
make_log_from_check_list()
for a log based on many logical tests
make_log_outlier()
for a log based on outliers
make_log_other()
for a log of others
make_all_logs()
for all logs: outliers, others, logical tests
Other functions to make logs:
make_all_logs()
,
make_log_from_check_list()
,
make_log_other()
,
make_log_outlier()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.