Parser | R Documentation |
Parse the JSON response from cube/report v2 download api and convert the data into a R data frame
response
JSON response from the cube/report v2 download api
response
JSON response from the cube/report v2 download api
new()
Parser$new(response)
parse()
Parser$parse(response)
to_dataframe()
Parser$to_dataframe()
clone()
The objects of this class are cloneable with this method.
Parser$clone(deep = FALSE)
deep
Whether to make a deep clone.
## Not run:
# Create a parser object
p <- Parser$new(response)
# Parse the first request
p$parse(response)
# Return the data frame
p$to_dataframe()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.