build_unpivot_control | R Documentation |
Some discussion and examples can be found here: https://winvector.github.io/FluidData/FluidData.html and here https://github.com/WinVector/cdata.
build_unpivot_control(
nameForNewKeyColumn,
nameForNewValueColumn,
columnsToTakeFrom,
...
)
nameForNewKeyColumn |
character name of column to write new keys in. |
nameForNewValueColumn |
character name of column to write new values in. |
columnsToTakeFrom |
character array names of columns to take values from. |
... |
not used, force later args to be by name |
control table
rowrecs_to_blocks
build_unpivot_control("measurmentType", "measurmentValue", c("c1", "c2"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.