- Location
A string or vector of strings, with site numbers, e.g. "A4261001"
- Dataset
A string or vector of strings, with dataset names, as expected by AWQP, e.g. "Tide Height.Best Available--Continuous"
- Unit
A string or vector of strings, with units, e.g. "Metres" or "mg/L". If only 1 is string is provided it will be used for each site in Location
- file
Location and name of json file to download. Defaults to "AQWP.json".
- Interval
Interval of output, e.g. "PointsAsRecorded", or "Daily"
- Calculation
For larger intervals, what calculation to do, e.g. "Aggregate" (average) or "Maximum"
- Calendar
When to start the periods, e.g. "WATERDAY9AM"
- Step
How many intervals e.g. 15 with Interval="Minutely" returns 15 minute data.
- DateRange
Period of data to return, e.g. "EntirePeriodOfRecord" or "Custom". "Years1" seems to not work on AWQP.
- StartTime
Start Date and Time if DateRange="Custom", in a format that as.POSIXct will convert, e.g 2000-01-01 00:00
- EndTime
End Date and Time if DateRange="Custom", in a format that as.POSIXct will convert, e.g 2001-01-02 00:00