The Flow Analysis Summary Statistics Tool for R (
fasstr) is a set of R functions to tidy, summarize, analyze, trend, and visualize streamflow data. This package summarizes continuous daily mean streamflow data into various daily, monthly, annual, and long-term statistics, completes annual trends and frequency analyses.
This package provides functions for streamflow data analysis, including:
Useful features of functions include:
tidyhydatpackage to pull streamflow data from a Water Survey of Canada HYDAT database for analyses;
This package is maintained by the Water Protection and Sustainability Branch of the British Columbia Ministry of Environment and Climate Change Strategy.
You can install
fasstr directly from CRAN:
if(!requireNamespace("remotes")) install.packages("remotes") remotes::install_github("bcgov/fasstr")
To use the
station_number argument and pull data directly from a Water Survey of Canada HYDAT database into
fasstr functions, download a HYDAT file using the following code:
There are several vignettes and a cheatsheet to provide more information on the usage of
fasstr functions and how to customize various argument options.
To report bugs/issues/feature requests, please file an issue.
If you would like to contribute to the package, please see our CONTRIBUTING guidelines.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
Copyright 2019 Province of British Columbia Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.