- Update
stat_locs
object for active stations in the NERR system.
-
Added
keep_qaqcstatus
argument toimport_local()
to retainhistorical
andprovisionalplus
columns in the output -
Added unit testing for most functions
- Removed maptools dependency, replaced with
getSunlightTimes()
function from suncalc package to estimate metabolic days inmetab_day()
function
-
Added
fill
argument toplot_summary
as option to fill missing values with long term monthly averages or linear interpolation -
Added
base_size
argument for global text size inplot_summary
-
Fix to annual anomalies in
plot_summary
as average of monthly sums -
Enhancement to
qaqc
to work if angle brackets not included in qualifier codes -
Only required functions from data.table dependency imported
-
Fix to
map_reserve
function for updates to ggmap -
Added Pacific/Honolulu time zone and
'hee'
site code totime_vec
function for He'eia reserve -
Added
colsleft
,colsmid
, andcolsright
arguments toplot_summary
for separate colors on left, mid, right portions of plot -
URL fix to
metab_day
documentation
-
Each function is now in its own file instead of grouped by categories (thanks Kim!)
-
Fix to gas exchange estimate for correct units in
ecometab
function -
Fixing broken URLs in vignette and package documentation
-
Added
collMethd
argument toimport_local
function to specify diel or standard monthly sampling for nutrient samples -
Minor fix to
swmpr
function 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_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
calckl
function -
Fixed bug with
comb
function if differ argument is incorrect -
Added option in
qaqc
to included additional columns specifying censored values (viacens_id
function)
-
Added
plot_wind
function for wind roses from weather data -
Fixes to
decomp_cj
function, including grandmean back to output -
Added point and line options for
overplot
-
Trailing whitespace in qaqc columns are removed in
swmpr
argument -
Removed dependency to deprecated wq package
-
Safety stop in
import_local
if data type not in station code -
Removed use of
setstep
function inecometab
that caused less precise results -
Fixed bug with sanity check of
depth_val
argument inecometab
-
Fixed bug with
metab_day
if original time series was not continuous -
Default S3 method added to
ecometab
parser
now usesxmlTreeParse
making CDMO retrieval functions much faster
- Fixed case issue with
import_local
- Fixed bug with
qaqc
function 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 inplot_metab
- Fixed bug with character input for
timestep
argument insetstep
. The default value fordiffer
was 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
comb
that caused error if the input was not a list of objects to combine.
- Default method for
comb
added so it can be used with non-swmpr objects.
- Default method for
setstep
added so it can be used with non-swmpr objects.
- Default method for
decomp
added so it can be used with non-swmpr objects.
- Default method for
decomp_cj
added so it can be used with non-swmpr objects.
overplot
function added that allows plotting of multiple variables on the sample plot with different y-axes.
qaqc
function 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_summary
that 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_local
to 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_param
now retreives more than 100 records by usingall_params_dtrng
internally.
all_params
now retreives more than 100 records by usingall_params_dtrng
internally.
all_params_dtrng
function 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
timestep
argument in thesetstep
function, e.g.,"hours"
. See the help file.