Description Usage Arguments Value Examples
A high-level function that automates the querying and extraction of data from a web API.
1 | apiData(x, shortnames=FALSE, method="RWebData", alignVariables=FALSE)
|
x |
an apirequest object |
shortnames |
logical, indicating whether the resulting tables (data frames) should have short variable names (default is FALSE, variable names contain nesting hierarchy) |
method |
character, either "RWebData", "jsonlite", or "XML2R" |
alignVariables |
logical, indicating whether variables/values should be rearranged in case the raw data was malformed (missing variable names) |
an apidata-object containing the returned data in a flat representation
1 | ## Not run: apidata <- apiData(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.