tidyjson (version 0.2.4)

json_functions: Navigates nested objects to get at names of a specific type, to be used as arguments to spread_values

Description

Note that these functions fail if they encounter the incorrect type.

Usage

jstring(..., recursive = FALSE)

jnumber(..., recursive = FALSE)

jlogical(..., recursive = FALSE)

Arguments

...

a quoted or unquoted sequence of strings designating the object name sequence you wish to follow to find a value

recursive

logical indicating whether second level and beyond objects should be extracted. Only works when there exists a single value in the nested json object

Value

a function that can operate on parsed JSON data

See Also

spread_values for using these functions to spread the values of a JSON object into new columns