YoutheriaToDF {rYoutheria}R Documentation

Convert data returned from API to a dataframe

Description

Takes the list returned by fromJSON(getURL(url)), where url is the ValueByType controller in the YouTheria API, and returns a data.frame. This code is faster than using plyr.

Usage

YoutheriaToDF(x)

Arguments

x

a list of trait data as returned by fromJSON(getURL(url)).

Value

A data.frame of melted trait data


[Package rYoutheria version 1.0.3 Index]