Learn R Programming

tidyjson (version 0.3.2)

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, ...)

as_data_frame.tbl_json(x, ...)

Value

a tbl_df object (with no tbl_json component)

Arguments

x

a tbl_json object

...

additional parameters

Details

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