spread_hive
operates on a Hive table, taking a key and value column and spreading them to multiple columns
1 2 | spread_hive(hive_tbl, key, value, temporary = TRUE,
name = dplyr:::random_table_name())
|
hive_tbl |
A tbl_Hive object |
key |
Bare unquoted name of the key column, whose values will be column names |
value |
Bare unquoted name of the value column, whose values will populate the cells |
temporary |
Whether the resulting table should be a temporary table or not |
name |
Name of the resulting Hive table |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.