tidyjson (version 0.2.4)

gather_factory: Factory to create gather functions

Description

Factory to create gather functions

Usage

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