Retrieving, Organizing, and Analyzing Estuary Monitoring Data

Tools for retrieving, organizing, and analyzing environmental data from the System Wide Monitoring Program of the National Estuarine Research Reserve System <>. These tools address common challenges associated with continuous time series data for environmental decision making.


SWMPr 2.3.0

  • 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 (via cens_id function)

SWMPr 2.2.0

  • 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 in ecometab that caused less precise results

  • Fixed bug with sanity check of depth_val argument in ecometab

  • Fixed bug with metab_day if original time series was not continuous

  • Default S3 method added to ecometab

SWMPr 2.1.5

  • parser now uses xmlTreeParse making CDMO retrieval functions much faster

SWMPr 2.1.4

  • Fixed case issue with import_local

SWMPr 2.1.3

  • Fixed bug with qaqc function that treated integer flags the same regardless of sign

SWMPr 2.1.2

  • Default method for smoother was added,

  • aggremetab can now use moving window smoothing with appropriate changes in plot_metab

SWMPr 2.1.1

  • Fixed bug with character input for timestep argument in setstep. The default value for differ was causing an error.

SWMPr 2.1.0

  • 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.

SWMPr 2.0.14

  • Fixed issue with default method of comb that caused error if the input was not a list of objects to combine.

SWMPr 2.0.13

  • Default method for comb added so it can be used with non-swmpr objects.

SWMPr 2.0.12

  • Default method for setstep added so it can be used with non-swmpr objects.

SWMPr 2.0.11

  • Default method for decomp added so it can be used with non-swmpr objects.

SWMPR 2.0.10

  • Default method for decomp_cj added so it can be used with non-swmpr objects.

SWMPr 2.0.9

  • overplot function added that allows plotting of multiple variables on the sample plot with different y-axes.

SWMPr 2.0.8

  • 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.

SWMPr 2.0.7

  • 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.

SWMPr 2.0.6

  • 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.

SWMPr 2.0.5

  • 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.,'retrieve', package = 'SWMPr')

SWMPr 2.0.4

  • single_param now retreives more than 100 records by using all_params_dtrng internally.

SWMPr 2.0.3

  • all_params now retreives more than 100 records by using all_params_dtrng internally.

SWMPr 2.0.2

  • 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.

SWMPr 2.0.1

  • A character string input can be used to specify the value for the timestep argument in the setstep function, e.g., "hours". See the help file.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


2.4.1 by Marcus W. Beck, 2 months ago

Report a bug at

Browse source code at

Authors: Marcus W. Beck [aut, cre] , Kimberly Cressman [ctb]

Documentation:   PDF Manual  

CC0 license

Imports data.table, httr, gridExtra, maptools, oce, dplyr, lattice, openair, RColorBrewer, reshape2, tictoc, tidyr, XML

Depends on ggplot2, zoo

Suggests colorspace, ggmap, knitr, rmarkdown

Depended on by SWMPrExtension.

See at CRAN