Description Usage Arguments Details See Also Examples
Missing properties are returned filled with their default values (see Details).
| 1 2 3 | get_field(x, name = NULL)
get_fields(l)
 | 
| x | Object. | 
| name | (character) Field name to return if not set explicitly. | 
| l | (list) List of objects. | 
Unless set explicity, the following defaults are returned:
name: The name of the object in a list.
type: The type corresponding to the object class (or "string" if not supported).
format: The default format for that type.
 unit: Units set by units deparsed to product power form (if available).
Other field functions: field,
set_fields, set_field
| 1 2 3 4 5 6 | get_field(1)
get_field(1, "id")
x <- set_field(1, type = "logical")
get_field(x)
get_field(Sys.time())
get_fields(data.frame(id = 1L, value = 1.1))
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.