Description Usage Arguments See Also Examples
Set field metadata by name
1 | set_fields(l, ...)
|
l |
(list) List of objects to modify. |
... |
(name = value) Field metadata (named list or call to field) to assign to the object of the given name. |
Other field functions: field
,
get_field
, set_field
1 2 3 4 5 6 | df <- set_fields(
data.frame(id = 1L, value = 1.1),
value = field(title = "Value"),
id = field(title = "Unique identifier", constraints = constraints(unique = TRUE))
)
get_fields(df)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.