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

View source: R/api_00.R

api_list_to_dfR Documentation

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)

Arguments

api_list

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

Value

a tibble


polished documentation built on Feb. 16, 2023, 8:02 p.m.