ats_get: GET

View source: R/fetch_ats.R

ats_getR Documentation

GET

Description

Submit an http GET request to the ATS website

Usage

ats_get(path, task = "download data", ...)

Arguments

path

Character or list for the request path.

task

Character describing the purpose of the current request. If the request fails the message 'Failed to [task]' is displayed.

...

Additional options passed to httr::GET

Value

HTTP response object

See Also

GET

Examples

## Not run: 

ats_login("mary", ".")

ats_get(
  path = list(
    "download_all_events",
    "download_all_events.aspx?dw=all"
  ),
  task = "download event data"
) %>%
  ats_parse_txt()


## End(Not run)


Huh/collar documentation built on Aug. 5, 2022, 11:02 p.m.