Learn R Programming

ENCODExplorer (version 1.4.3)

clean_table: Clean a data.frame that was produced by extract_table

Description

data.frames produced when converting JSON to data.frame with the fromJSON function will sometime have columns that are lists and/or columns that are data.frames.

Usage

clean_table(table)

Arguments

table
The table produced by the extract_table function.

Value

a data.frame corresponding to the cleaned version of the input data.frame.

Details

This function will either remove columns that are not relevant and convert columns to a vector.