Package: SWTools 1.1.0

SWTools: Helper Tools for Australian Hydrologists

Functions to speed up work flow for hydrological analysis. Focused on Australian climate data (SILO climate data), hydrological models (eWater Source) and in particular South Australia (<https://water.data.sa.gov.au> hydrological data).

Authors:Matt Gibbs [aut, cre]

SWTools_1.1.0.tar.gz
SWTools_1.1.0.zip(r-4.5)SWTools_1.1.0.zip(r-4.4)SWTools_1.1.0.zip(r-4.3)
SWTools_1.1.0.tgz(r-4.4-any)SWTools_1.1.0.tgz(r-4.3-any)
SWTools_1.1.0.tar.gz(r-4.5-noble)SWTools_1.1.0.tar.gz(r-4.4-noble)
SWTools_1.1.0.tgz(r-4.4-emscripten)SWTools_1.1.0.tgz(r-4.3-emscripten)
SWTools.pdf |SWTools.html
SWTools/json (API)
NEWS

# Install 'SWTools' in R:
install.packages('SWTools', repos = c('https://matt-s-gibbs.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/matt-s-gibbs/swtools/issues

On CRAN:

4.18 score 5 stars 3 scripts 364 downloads 32 exports 128 dependencies

Last updated 1 months agofrom:09db14dbb1. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 13 2024
R-4.5-winNOTENov 13 2024
R-4.5-linuxNOTENov 13 2024
R-4.4-winNOTENov 13 2024
R-4.4-macNOTENov 13 2024
R-4.3-winNOTENov 13 2024
R-4.3-macNOTENov 13 2024

Exports:AQWPDownloadAQWPLoadHydstraSiteDetailsread_res.csvSILOCheckConsistencySILOCorrectSiteSILOCumulativeDeviationSILODoubleMassSILODownloadSILOLoadSILOMapSILOMonthlyRainfallSILOMortonQualityCodesSILOQualityCodesSILOReportSILOSitesfromPolygonSILOSiteSummarySILOThiessenShpSILOWriteforSourceSILOWriteFunctionsforSourceVeneerGetInputSetsVeneerGetNodesbyTypeVeneerGetPiecewiseVeneerGetTSVeneerGetTSbyNodeVeneerGetTSbyVariableVeneerGetTSVariablesVeneerlatestRunNumberVeneerRunSourceVeneerSetFunctionVeneerSetPiecewiseWritepwtoIS

Dependencies:abindaskpassbackportsbase64encbitbit64bootbroombslibcachemcarcarDataclassclassIntclicliprcolorspacecorrplotcowplotcpp11crayoncurlDBIDerivdigestdoBydplyre1071evaluatefansifarverfastmapfontawesomeforcatsFormulafsgenericsggplot2ggpubrggrepelggsciggsignifggspatialgluegridExtragtablehighrhmshtmltoolshttrhydroTSMisobandjpegjquerylibjsonliteKernSmoothknitrlabelinglatticelifecyclelme4lubridatemagrittrMASSMatrixMatrixModelsmemoisemgcvmicrobenchmarkmimeminqamodelrmunsellnlmenloptrnnetnumDerivopensslpbkrtestpillarpkgconfigplyrpngpolynomprettymaprprettyunitsprogressproxypurrrquantregR6rappdirsRColorBrewerRcppRcppEigenreadrrjsonrlangrmarkdownrosmrstatixs2sassscalessegmentedsfSparseMstringistringrsurvivalsystibbletidyrtidyselecttimechangetinytextzdbunitsutf8vctrsviridisLitevroomwithrwkxfunxtsyamlzoo

Readme and manuals

Help Manual

Help pageTopics
SWTools: Helper Tools for Australian HydrologistsSWTools-package SWTools
Function to download data from https://water.data.sa.gov.auAQWPDownload
Function to load in an Aquarius json file, downloaded from https://water.data.sa.gov.au, possibly using AWQPDownload()AQWPLoad
Get streamflow station information from Hydstra APIHydstraSiteDetails
Function to import a Source .res.csv File Returns data (as a Data Frame, Zoo, or tibble) as a time Series with all Results Read Source .res.csv file into a data table or zoo time seriesread_res.csv
Check for homogeneity between SILO rainfall station dataSILOCheckConsistency
Correct a slope change in a rainfall data set based on another siteSILOCorrectSite
Plot the cumulative deviation from the mean for each silo station on one plotSILOCumulativeDeviation
Plot double mass curves of each rainfall site against each otherSILODoubleMass
Download SILO dataSILODownload
Import a SILO fileSILOImport
Import multiple SILO filesSILOLoad
Plot a map of the SILO station locationsSILOMap
Plot a boxplot of monthly rainfall with mean monthly evaporationSILOMonthlyRainfall
Plot the quality codes of the input data for Morton's Evap calculationsSILOMortonQualityCodes
Plot the quality codes of the SILO rainfall dataSILOQualityCodes
Write SILO data report to word document. The report includes output from SILOSiteSummary(), SILOQualityCodes(), SILOMortonQualityCodes(). SILOMap(), SILOMonthlyRainfall(), SILOCumulativeDeviation() and SILODoubleMass().SILOReport
Find SILO sites within a polygonSILOSitesfromPolygon
Produce a table summarising SILO sitesSILOSiteSummary
Function to generate Thiessen polygons from SILO sitesSILOThiessenShp
Write a SILO time series to a csv file in the format expected by eWater SourceSILOWriteforSource
Function to bulk create functions for SILO data in Source.SILOWriteFunctionsforSource
Get vector of InputSetsVeneerGetInputSets
Get a vector of node names for a given typeVeneerGetNodesbyType
Get data from a Source piecewise table using VeneerVeneerGetPiecewise
Get a time series result from Source using VeneerVeneerGetTS
Get all time series recorded in Source for a given nodeVeneerGetTSbyNode
Get all time series recorded in Source of a given variable typeVeneerGetTSbyVariable
Get a vector of the type of time series variables recordedVeneerGetTSVariables
Get the number of the latest runVeneerlatestRunNumber
Run Source using VeneerVeneerRunSource
Update a function value or expression. Function must exist before being updated.VeneerSetFunction
Change a Source piecewise table using VeneerVeneerSetPiecewise
Write an input set line for a piecewise lookup table from a csv fileWritepwtoIS