View source: R/R01-Inputs_and_outputs.R
camr_post_form_JSON_to_dtf | R Documentation |
This function uses httr to submit a POST form to the given url and converts the response (expected to be a JSON array) to a data.frame. Returns a list containing the data frame and response from the server.
camr_post_form_JSON_to_dtf(url, params)
url |
The URL where the POST request should be submitted. |
params |
A named list of parameters to submit with the POST request. |
A list which contains the following elements:
data
: A data frame containing all records and all fields.
status
: The HTTP status code returned from the request. If an
error was encountered after the request, returns -1.
William Schmitt
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.