Adds a new field to a tibble containing existing fields.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | add_field(.data, ..., .before = NULL, .after = NULL)
add_field_type(.data, ..., .type)
add_calc_field(.data, ...)
add_checkbox_field(.data, ...)
add_descriptive_field(.data, ...)
add_dropdown_field(.data, ...)
add_file_field(.data, ...)
add_notes_field(.data, ...)
add_radio_field(.data, ...)
add_slider_field(.data, ...)
add_sql_field(.data, ...)
add_text_field(.data, ...)
add_truefalse_field(.data, ...)
add_yesno_field(.data, ...)
|
.data |
Data frame to append to. |
... |
Name-value pairs, passed on to |
.before |
One-based row index where to add the new rows, default: after last row. |
.after |
One-based row index where to add the new rows, default: after last row. |
.type |
A field type. One of: "calc", "checkbox", "descriptive", "dropdown", "file", "notes", "radio", "slider", "sql", "text", "truefalse", "yesno". |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.