Description Usage Arguments Value Examples
View source: R/getTabularData.R
A high-level function that directly queries and transforms data from any web API to a data frame or list of data frames.
1 | getTabularData(x, base.url, shortnames=TRUE, alignVariables=FALSE)
|
x |
either a charachter string containing the whole url for the request or a named list containing the parameter names and values (see details) |
base.url |
a character string containing the basic url for the api |
shortnames |
logical, indicating whether the resulting tables (data frames) should have short variable names (default is FALSE, variable names contain nesting hierarchy) |
alignVariables |
logical, indicating whether variables/values should be rearranged in case the raw data was malformed (missing variable names) |
a list of data-frames, containing the returned data in a flat representation
1 | ## Not run: apidata <- getTabularData(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.