View source: R/properties_tabulardataresource.R
schema | R Documentation |
Get and set the schema of a data set or columns in the data set
schema(x, attribute, ...)
## Default S3 method:
schema(x, attribute, ...)
schema(x, attribute) <- value
## Default S3 replacement method:
schema(x, attribute) <- value
x |
the data.frame or vector for which the schema should be set or obtained. |
attribute |
the optional name of the specific attribute to get or set. When omitted the complete schema is set or obtained. |
... |
passed on to other methods. |
value |
the value to set the schema or attribute with. |
The schema is stored in the schema
attribute of the object. When the
object does not have a schema associated with it, a default schema appropiate
for the object is generated.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.