gather_factory: Factory to create gather functions

Description Usage Arguments

View source: R/gather.R

Description

Factory to create gather functions

Usage

1
2
gather_factory(default.column.name, default.column.empty, expand.fun,
  required.type)

Arguments

default.column.name

the desired name of the default added column

default.column.empty

the value to use when the default column should be empty because the JSON has length 0

expand.fun

a function applied to the JSON that will expand the rows in the tbl_df

required.type

the json_types type that must be present in every element of the JSON for this to succeed


jeremystan/tidyjson documentation built on May 19, 2019, 5:09 a.m.