Tools for retrieving, organizing, and analyzing environmental data from the System Wide Monitoring Program of the National Estuarine Research Reserve System < http://cdmo.baruch.sc.edu/>. These tools address common challenges associated with continuous time series data for environmental decision making.
Added informative error message if IP address not registered for using CDMO web services
plot_quants function 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
Fixed bug with
comb function if differ argument is incorrect
Added option in
qaqc to included additional columns specifying censored values (via
plot_wind function for wind roses from weather data
decomp_cj function, including grandmean back to output
Added point and line options for
Trailing whitespace in qaqc columns are removed in
Removed dependency to deprecated wq package
Safety stop in
import_local if data type not in station code
Removed use of
setstep function in
ecometab that caused less precise results
Fixed bug with sanity check of
depth_val argument in
Fixed bug with
metab_day if original time series was not continuous
Default S3 method added to
xmlTreeParsemaking CDMO retrieval functions much faster
qaqcfunction that treated integer flags the same regardless of sign
Default method for
smoother was added,
aggremetab can now use moving window smoothing with appropriate changes in
setstep. The default value for
differwas causing an error.
combthat caused error if the input was not a list of objects to combine.
combadded so it can be used with non-swmpr objects.
setstepadded so it can be used with non-swmpr objects.
decompadded so it can be used with non-swmpr objects.
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.
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.
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_local function 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 using
all_paramsnow retreives more than 100 records by using
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.
timestepargument in the
"hours". See the help file.