sumstats | R Documentation |
Calculates summary statistics and DQLs. Returns a data frame formatted for AWQMS upload.
sumstats(results, deployment, project_id)
results |
Data frame of the results data generated using |
deployment |
Data frame of the deployment data generated using |
project_id |
Unique Project ID from the projects data frame generated using |
Summary statistics calculated include:
Temperature, water: Daily Maximum, Daily Minimum, Daily Mean, and 7-day mean of the daily maximums (7DMADMax);
Dissolved oxygen (DO): Daily Maximum, Daily Minimum, Daily Mean, 7-day mean of the daily minimums (7DMADMin), 7-day mean of the daily mean (7DMADMean), and 30-day mean of the daily mean (30DMADMean);
All others: Daily Maximum, Daily Minimum, and Daily Mean
Rolling means are trailing means reported on the last day of the 7-day or 30-day period.
returned data frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.