Learn R Programming

SWTools (version 1.1.0)

AQWPLoad: Function to load in an Aquarius json file, downloaded from https://water.data.sa.gov.au, possibly using AWQPDownload()

Description

Function to load in an Aquarius json file, downloaded from https://water.data.sa.gov.au, possibly using AWQPDownload()

Usage

AQWPLoad(filename, qual_codes = TRUE, long_format = TRUE)

Value

A tibble with the data in the file

Arguments

filename

A file downloaded from the Export Data tab on https://water.data.sa.gov.au, or using AQWPDownload()

qual_codes

TRUE/FALSE to return quality codes. Defaults to true

long_format

TRUE/FALSE to return data in long format, rather than wide (e.g. a spreadsheet). Long is useful for plotting with ggplot

Examples

Run this code
if (FALSE) {
AQWPLoad("AQWP.json")
}

Run the code above in your browser using DataLab