tidyjson (version 0.2.4)

as_tibble.tbl_json: Convert a tbl_json back to a tbl_df

Description

Drops the JSON attribute and the tbl_json class, so that we are back to a pure tbl_df. Useful for some internals. Also useful when you are done processing the JSON portion of your data and are ready to move on to other tools.

Usage

# S3 method for tbl_json
as_tibble(x, ...)

# S3 method for tbl_json as_data_frame(x, ...)

Arguments

x

a tbl_json object

...

additional parameters

Value

a tbl_df object (with no tbl_json component)

Details

Note that as.tbl calls tbl_df under the covers, which in turn calls as_data_frame. As a result, this should take care of all cases.