jlist2df: Transform vector of lists to data frame (DEPRECATED)

Description Usage Arguments See Also

View source: R/search.R

Description

This function has been deprecated in favor of using fromJSON in jsonlite. This is a helper function to transform the vector of lists that were constructed by voteview_search and member_search in to a data frame. This function should probably not be called by itself. See voteview_search and member_search for more information.

Usage

1
jlist2df(rcs, ordercols = NULL)

Arguments

rcs

A vector of lists that is built in a json download where each list corresponds to a roll call or a member depending on the function that called it.

ordercols

A order of columns so that the returned data.frame is easy to read.

See Also

'voteview_search', 'member_search'.


voteview/Rvoteview documentation built on Oct. 16, 2019, 4:19 a.m.