Learn R Programming

polished (version 0.8.1)

api_list_to_df: Convert a list returned from the Polished API into a data frame

Description

In order to avoid issues with converting R data frames into JSON objects and back to R data frames, we instead convert R data frames to R lists before converting them to JSON to be sent via the Polished API. This function then converts those lists back into R data frames (or more precisely tibbles).

Usage

api_list_to_df(api_list)

Value

a tibble

Arguments

api_list

a list. All elements in the list are vectors of the same length.