ats_parse_trans | R Documentation |
Convert http response to tibble
ats_parse_trans(resp)
resp |
HTTP response object |
A tibble with 20 columns
(see fetch_ats_transmissions
)
Data can be retrieved either via httr::GET
(for all
transmissions) or httr::POST
(by collar), and each request
type can return two different formats depending on whether there is
data available. This function handles the four different possibilities
and returns a tibble with the same column names and types no matter
what. GmtOffset is multiplied by -1 to correct for ATS using
non-standard syntax. Dates in UTC and current system time zone are
added. Neolink events are split into separate columns.
fetch_ats_transmissions
## Not run: ats_login("mary", ".") trans <- fetch_ats_transmissions() ats_get( path = list( "download_all_transmission", "download_all_transmission.aspx?dw=all" ), task = "download transmission data" ) %>% ats_parse_trans() ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.