send_request | R Documentation |
Send an API request (basically a wrapper to httr:GET that adds a marker for the data item)
send_request(request, config_options = list())
request |
list; a named list with at least a url to be sent and the data item contained within (most easily generated from build_call()) |
config_options |
list; a named list of config options to be passed to httr::GET |
A response() object with an added data_item attribute
send_request( build_call(data_item = "TEMP", from_date = "01 Jun 2019", to_date = "10 Jun 2019", api_key = "test") )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.