-
Added
collMethdargument toimport_localfunction to specify diel or standard monthly sampling for nutrient samples -
Minor fix to
swmprfunction if trailing white spaces found at end of each qaqc column -
Minor fix to help files if searching by concept, e.g.,
help.search('analyze', package = "SWMPr")
-
Added informative error message if IP address not registered for using CDMO web services
-
Added
plot_quantsfunction to evaluate trends relative to long-term averages -
All numeric columns are forced to numeric atomic vectors on input
-
Documentation updated to indicate a return value in the
calcklfunction -
Fixed bug with
combfunction if differ argument is incorrect -
Added option in
qaqcto included additional columns specifying censored values (viacens_idfunction)
-
Added
plot_windfunction for wind roses from weather data -
Fixes to
decomp_cjfunction, including grandmean back to output -
Added point and line options for
overplot -
Trailing whitespace in qaqc columns are removed in
swmprargument -
Removed dependency to deprecated wq package
-
Safety stop in
import_localif data type not in station code -
Removed use of
setstepfunction inecometabthat caused less precise results -
Fixed bug with sanity check of
depth_valargument inecometab -
Fixed bug with
metab_dayif original time series was not continuous -
Default S3 method added to
ecometab
parsernow usesxmlTreeParsemaking CDMO retrieval functions much faster
- Fixed case issue with
import_local
- Fixed bug with
qaqcfunction that treated integer flags the same regardless of sign
-
Default method for
smootherwas added, -
aggremetabcan now use moving window smoothing with appropriate changes inplot_metab
- Fixed bug with character input for
timestepargument insetstep. The default value fordifferwas causing an error.
- Version update for push to CRAN, previous was 2.0.0. See the notes below about each version change for updates since the last push.
- Fixed issue with default method of
combthat caused error if the input was not a list of objects to combine.
- Default method for
combadded so it can be used with non-swmpr objects.
- Default method for
setstepadded so it can be used with non-swmpr objects.
- Default method for
decompadded so it can be used with non-swmpr objects.
- Default method for
decomp_cjadded so it can be used with non-swmpr objects.
overplotfunction added that allows plotting of multiple variables on the sample plot with different y-axes.
qaqcfunction now uses string matching to keep flags. This is a more flexible approach to keeping desired flags, the previous version used hard coded integers for each flag.
- Fixed bug in
plot_summarythat returned an error if a cumulative precipitation column was present. This is no longer collected by SWMP but older datasets may have have it included.
- Some tweaks to
import_localto handle more flexible text input for the station code. Function doesn't break if the file extension is included and the date is stripped from the station attribute of the imported swmpr object.
-
import_localfunction can now import files directly from a zipped folder, i.e., it doesn't have to be decompressed first. -
SWMPr functions can be searched by concepts - retrieve, organize, analyse, e.g.,
help.search('retrieve', package = 'SWMPr')
single_paramnow retreives more than 100 records by usingall_params_dtrnginternally.
all_paramsnow retreives more than 100 records by usingall_params_dtrnginternally.
all_params_dtrngfunction now retrieves more than 1000 records from the CDMO. In theory, all records for a station can be retrieved but this would take a long time.
- A character string input can be used to specify the value for the
timestepargument in thesetstepfunction, e.g.,"hours". See the help file.