sub-.tbl_json: Extract subsets of a tbl_json object (not replace)

Description Usage Arguments

Description

Extends '[.data.frame' to work with tbl_json objects, so that row filtering of the underlying data.frame also filters the associated JSON.

Usage

1
2
3
## S3 method for class 'tbl_json'
x[i, j, drop = if (missing(i)) TRUE else length(cols) ==
  1]

Arguments

x

a tbl_json object

i

row elements to extract

j

column elements to extract

drop

whether or not to simplify results


sailthru/tidyjson documentation built on May 29, 2019, 12:59 p.m.