serialize_df | R Documentation |
When exporting a (pre)registration specification to YAML or JSON, the most human-readable format differs from the way data frames are comprised of lists. Data frames are lists that are bound together as columns; and so, when saving a data frame to YAML or JSON, the data in each column is combined (e.g. first all item identifiers, then all item labels, then all item descriptions, etc). However, for humans, it makes more sense to have all data belonging to the same item close together. These functions do that processing.
serialize_df(x, idCol = NULL)
structure_for_serialization(x)
x |
For |
idCol |
If not |
The restructured list
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.