json_get_column {tidyjson} | R Documentation |
Make the JSON data a persistent column
Description
Extract the raw JSON from a tbl_json object. Store it in a column. WARNING: column name collisions will be overwritten
Usage
json_get_column(.data, column_name = "json")
Arguments
.data |
A tbl_json object |
column_name |
Optional. The name of the output column (either as a string or unquoted name). Default "json" |
Value
A tbl_json object with an added column containing the JSON data
Examples
tj <- as_tbl_json('{"a": "b"}')
json_get_column(tj, my_json)
[Package tidyjson version 0.3.2 Index]