Description Usage Arguments Value Examples
Expands a character vector of JSON values or a data.frame with a column
tagcolumn
to a data.frame with columns for each key in the
vector of JSON objects. If x is a mudata object, the operation will
be performed on the entire object.
1 2 3 4 5 6 7 | expand.tags(x, ...)
## S3 method for class 'data.frame'
expand.tags(x, tagcolumn = "tags", lazy = FALSE, ...)
## S3 method for class 'mudata'
expand.tags(x, ...)
|
x |
a vector of JSON values or a data.frame with a 'tags' column |
... |
Passed to/from methods |
tagcolumn |
the column containing json |
lazy |
Don't preform expantion if tagcolumn exists in |
A data.frame with columns added
1 2 3 | data(pocmaj)
condensed <- condense.tags(pocmaj, tagcolumns = c("Ca", "Ti", "V"))
expand.tags(condensed)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.