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:
add_*
and fill_*
functions),screen_*
functions),calc_*
functions),compute_*
functions), and,plot_*
functions).Useful features of functions include:
tidyhydat
package to pull streamflow data from a Water Survey of Canada HYDAT database for analyses;This package is maintained by the Water Management Branch of the British Columbia Ministry of Forests.
You can install fasstr
directly from CRAN:
install.packages("fasstr")
To install the development version from GitHub, use the remotes
package then the fasstr
package:
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:
tidyhydat::download_hydat()
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.
2019 Province of British Columbia
Copyright
2.0 (the "License");
Licensed under the Apache License, Version in compliance with the License.
you may not use this file except
You may obtain a copy of the License at
://www.apache.org/licenses/LICENSE-2.0
http
in writing, software
Unless required by applicable law or agreed to "AS IS" BASIS,
distributed under the License is distributed on an
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.for the specific language governing permissions and
See the License limitations under the License.