ats_post | R Documentation |
Submit an http POST request to the ATS website
ats_post(path, body = list(), task = "download data", ...)
path |
Character or list for the request path |
body |
Named list of query parameters |
task |
Character describing the purpose of the current request. If the request fails the message 'Failed to [task]' is displayed. |
... |
Additional options passed to |
Response object
POST
## Not run:
ats_login("mary", ".")
ats_select_collars("044286")
ats_post(
path = "Servidor.ashx",
body = list(
consulta = "download_trans_collars"
),
task = "download transmission data"
) %>%
ats_parse_xml()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.