Package: SWTools 1.0.3

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.0.3.tar.gz
SWTools_1.0.3.zip(r-4.5)SWTools_1.0.3.zip(r-4.4)SWTools_1.0.3.zip(r-4.3)
SWTools_1.0.3.tgz(r-4.4-any)SWTools_1.0.3.tgz(r-4.3-any)
SWTools_1.0.3.tar.gz(r-4.5-noble)SWTools_1.0.3.tar.gz(r-4.4-noble)
SWTools_1.0.3.tgz(r-4.4-emscripten)SWTools_1.0.3.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:

31 exports 4 stars 1.33 score 99 dependencies 3 scripts 286 downloads

Last updated 4 months agofrom:36524c76ab. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 22 2024
R-4.5-winNOTEAug 22 2024
R-4.5-linuxNOTEAug 22 2024
R-4.4-winNOTEAug 22 2024
R-4.4-macNOTEAug 22 2024
R-4.3-winNOTEAug 22 2024
R-4.3-macNOTEAug 22 2024

Exports:AQWPDownloadAQWPLoadread_res.csvSILOCheckConsistencySILOCorrectSiteSILOCumulativeDeviationSILODoubleMassSILODownloadSILOLoadSILOMapSILOMonthlyRainfallSILOMortonQualityCodesSILOQualityCodesSILOReportSILOSitesfromPolygonSILOSiteSummarySILOThiessenShpSILOWriteforSourceSILOWriteFunctionsforSourceVeneerGetInputSetsVeneerGetNodesbyTypeVeneerGetPiecewiseVeneerGetTSVeneerGetTSbyNodeVeneerGetTSbyVariableVeneerGetTSVariablesVeneerlatestRunNumberVeneerRunSourceVeneerSetFunctionVeneerSetPiecewiseWritepwtoIS

Dependencies:abindaskpassbase64encbitbit64bslibcachemclassclassIntclicliprcolorspacecpp11crayoncurlDBIdigestdplyre1071evaluatefansifarverfastmapfontawesomeforcatsfsgenericsggplot2ggspatialgluegtablehighrhmshtmltoolshttrhydroTSMisobandjpegjquerylibjsonliteKernSmoothknitrlabelinglatticelifecyclelubridatemagrittrMASSMatrixmemoisemgcvmimemunsellnlmeopensslpillarpkgconfigplyrpngprettymaprprettyunitsprogressproxypurrrR6rappdirsRColorBrewerRcppreadrreshape2rjsonrlangrmarkdownrosms2sassscalessegmentedsfstringistringrsystibbletidyrtidyselecttimechangetinytextzdbunitsutf8vctrsviridisLitevroomwithrwkxfunxtsyamlzoo

Readme and manuals

Help Manual

Help pageTopics
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
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
SWTools: Helper Tools for Australian HydrologistsSWTools-package SWTools
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