unpack_tb: Unpack a TeachBoost response object (or a list of such...

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Tries to create a relatively tidy data frame, though it will maintain nested structures as list-columns.

Usage

1
unpack_tb(x, unnest_cols = TRUE)

Arguments

x

the TeachBoost response object (returned by get_tb to be unpacked.

unnest_cols

should nested list-columns be unnested, default is TRUE

Value

a data frame

Examples

1
2
3
4
5
6
## Not run: 
x <- get_tb("users")

x_df <- unpack_tb(x)

## End(Not run)

kippchicago/teachboostr documentation built on May 20, 2019, 10:23 a.m.