## Convert a JSON list to a data.frame
##
## Author: Matthew D. Furia <matt.furia@sagebase.org>
###############################################################################
.jsonListToDataFrame <- function(jsonList){
returnVal <- NULL
for(i in 1:length(jsonList)){
thisRow <- .parseSingleRow(jsonList[[i]])
if(is.null(returnVal)){
returnVal <- thisRow
}else{
returnVal <- .rowMerge(returnVal, thisRow)
}
}
return(returnVal)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.