AQWPLoad: Function to load in an Aquarius json file, downloaded from...

View source: R/DEWAquarius.R

AQWPLoadR Documentation

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)

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

Value

A tibble with the data in the file

Examples

## Not run: 
AQWPLoad("AQWP.json")

## End(Not run)


SWTools documentation built on May 31, 2023, 6:24 p.m.