add_field: Add a new field.

Description Usage Arguments

Description

Adds a new field to a tibble containing existing fields.

Usage

 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

Arguments

.data

Data frame to append to.

...

Name-value pairs, passed on to tibble(). Only columns that exist in .data can be used, unset columns will get an NA value. These arguments are passed on to tibble(), and therefore also support unquote via !! and unquote-splice via !!!.

.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".


Sage-Bionetworks/redcapdd documentation built on May 17, 2019, 6:34 p.m.