Package: fasstr 0.5.3

Jon Goetz

fasstr: Analyze, Summarize, and Visualize Daily Streamflow Data

The Flow Analysis Summary Statistics Tool for R, 'fasstr', provides various functions to tidy and screen daily stream discharge data, calculate and visualize various summary statistics and metrics, and compute annual trending and volume frequency analyses. It features useful function arguments for filtering of and handling dates, customizing data and metrics, and the ability to pull daily data directly from the Water Survey of Canada hydrometric database (<https://collaboration.cmc.ec.gc.ca/cmc/hydrometrics/www/>).

Authors:Jon Goetz [aut, cre], Carl James Schwarz [aut], Sam Albers [ctb], Robin Pike [ctb], Province of British Columbia [cph]

fasstr_0.5.3.tar.gz
fasstr_0.5.3.zip(r-4.5)fasstr_0.5.3.zip(r-4.4)fasstr_0.5.3.zip(r-4.3)
fasstr_0.5.3.tgz(r-4.4-any)fasstr_0.5.3.tgz(r-4.3-any)
fasstr_0.5.3.tar.gz(r-4.5-noble)fasstr_0.5.3.tar.gz(r-4.4-noble)
fasstr_0.5.3.tgz(r-4.4-emscripten)fasstr_0.5.3.tgz(r-4.3-emscripten)
fasstr.pdf |fasstr.html
fasstr/json (API)
NEWS

# Install 'fasstr' in R:
install.packages('fasstr', repos = c('https://bcgov.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/bcgov/fasstr/issues

On CRAN:

bcgovforfrequency-analysishydathydrologystreamflowsummary-statisticstrendswater

7.39 score 55 stars 75 scripts 648 downloads 68 exports 77 dependencies

Last updated 2 months agofrom:8dda6f3c9f. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 26 2024
R-4.5-winOKOct 26 2024
R-4.5-linuxOKOct 26 2024
R-4.4-winOKOct 26 2024
R-4.4-macOKOct 26 2024
R-4.3-winOKOct 26 2024
R-4.3-macOKOct 26 2024

Exports:%>%add_basin_areaadd_cumulative_volumeadd_cumulative_yieldadd_daily_volumeadd_daily_yieldadd_date_variablesadd_rolling_meansadd_seasonscalc_all_annual_statscalc_annual_cumulative_statscalc_annual_extremescalc_annual_flow_timingcalc_annual_highflowscalc_annual_lowflowscalc_annual_normal_dayscalc_annual_outside_normalcalc_annual_peakscalc_annual_statscalc_daily_cumulative_statscalc_daily_statscalc_flow_percentilecalc_longterm_daily_statscalc_longterm_meancalc_longterm_monthly_statscalc_longterm_percentilecalc_monthly_cumulative_statscalc_monthly_statscompute_annual_frequenciescompute_annual_trendscompute_frequency_analysiscompute_frequency_quantilecompute_full_analysiscompute_hydat_peak_frequenciesfill_missing_datesplot_annual_cumulative_statsplot_annual_extremesplot_annual_extremes_yearplot_annual_flow_timingplot_annual_flow_timing_yearplot_annual_highflowsplot_annual_lowflowsplot_annual_meansplot_annual_normal_daysplot_annual_normal_days_yearplot_annual_outside_normalplot_annual_statsplot_annual_stats2plot_annual_symbolsplot_daily_cumulative_statsplot_daily_statsplot_data_screeningplot_flow_dataplot_flow_data_symbolsplot_flow_durationplot_longterm_daily_statsplot_longterm_monthly_statsplot_missing_datesplot_monthly_cumulative_statsplot_monthly_meansplot_monthly_statsplot_monthly_stats2screen_flow_datawrite_flow_datawrite_full_analysiswrite_objects_listwrite_plotswrite_results

Dependencies:askpassbitbit64blobbootcachemclassclicliprcolorspacecpp11crayoncurlDBIdbplyrdplyre1071fansifarverfastmapfitdistrplusgenericsggplot2gluegtablehmshttr2isobandKendalllabelinglatticelifecyclelubridatemagrittrMASSMatrixmemoisemgcvmunsellnlmeopensslopenxlsxPearsonDSpillarpkgconfigplogrplyrprettyunitsprogressproxypurrrR6rappdirsRColorBrewerRcppRcppRollreadrrlangRSQLitescalesstringistringrsurvivalsystibbletidyhydattidyrtidyselecttimechangetzdbutf8vctrsviridisLitevroomwithrzipzyp

Computing a Full Analysis with fasstr

Rendered fromfasstr_full_analysis.Rmdusingknitr::rmarkdownon Oct 26 2024.

Last update: 2022-10-19
Started: 2018-06-28

Computing Annual Trends with fasstr

Rendered fromfasstr_trending_analysis.Rmdusingknitr::rmarkdownon Oct 26 2024.

Last update: 2022-05-03
Started: 2018-06-18

Computing Frequency Analyses with fasstr

Rendered fromfasstr_frequency_analysis.Rmdusingknitr::rmarkdownon Oct 26 2024.

Last update: 2022-05-03
Started: 2018-06-18

fasstr Users Guide

Rendered fromfasstr_users_guide.Rmdusingknitr::rmarkdownon Oct 26 2024.

Last update: 2022-05-25
Started: 2018-06-18

Get Started with fasstr

Rendered fromfasstr.Rmdusingknitr::rmarkdownon Oct 26 2024.

Last update: 2022-05-30
Started: 2020-05-22

Internal fasstr Workflows

Rendered fromfasstr_under_the_hood.Rmdusingknitr::rmarkdownon Oct 26 2024.

Last update: 2021-12-03
Started: 2018-06-18

Readme and manuals

Help Manual

Help pageTopics
Add a basin area column to daily flowsadd_basin_area
Add a daily cumulative volumetric flows column to daily flowsadd_cumulative_volume
Add a daily cumulative water yield column to daily flowsadd_cumulative_yield
Add a daily volumetric flows column to daily flowsadd_daily_volume
Add a daily volumetric water yield column to daily flowsadd_daily_yield
Add year, month, and day of year variable columns to daily flowsadd_date_variables
Add rolling n-day average column(s) to daily flowsadd_rolling_means
Add a column of seasonsadd_seasons
Calculate all fasstr annual statisticscalc_all_annual_stats
Calculate annual (and seasonal) total cumulative flowscalc_annual_cumulative_stats
Calculate annual high and low flowscalc_annual_extremes
Calculate annual timing of flowscalc_annual_flow_timing
Calculate annual high flows and datescalc_annual_highflows
Calculate annual low flows and datescalc_annual_lowflows
Calculate annual days above and below normalcalc_annual_normal_days
Calculate annual days above and below normalcalc_annual_outside_normal
Calculate annual high and low flowscalc_annual_peaks
Calculate annual summary statisticscalc_annual_stats
Calculate cumulative daily flow statisticscalc_daily_cumulative_stats
Calculate daily summary statisticscalc_daily_stats
Calculate the percentile rank of a flow valuecalc_flow_percentile
Calculate long-term summary statistics from daily mean flowscalc_longterm_daily_stats
Calculate the long-term mean annual dischargecalc_longterm_mean
Calculate long-term summary statistics from annual monthly mean flowscalc_longterm_monthly_stats
Calculate long-term percentilescalc_longterm_percentile
Calculate cumulative monthly flow statisticscalc_monthly_cumulative_stats
Calculate monthly summary statisticscalc_monthly_stats
Perform an annual low or high-flow frequency analysiscompute_annual_frequencies
Calculate prewhitened nonlinear annual trends on streamflow datacompute_annual_trends
Perform a custom volume frequency analysiscompute_frequency_analysis
Calculate an annual frequency analysis quantilecompute_frequency_quantile
Compute a suite of tables and plots from various fasstr functionscompute_full_analysis
Perform a frequency analysis on annual peak statistics from HYDATcompute_hydat_peak_frequencies
Fills data gaps of missing datesfill_missing_dates
Plot annual (and seasonal) total cumulative flowsplot_annual_cumulative_stats
Plot annual high and low flowsplot_annual_extremes
Plot annual high and low flows for a specific yearplot_annual_extremes_year
Plot annual timing of flowsplot_annual_flow_timing
Plot annual timing of flows for a specific yearplot_annual_flow_timing_year
Plot annual high flows and datesplot_annual_highflows
Plot annual low flows and datesplot_annual_lowflows
Plot annual means compared to the long-term meanplot_annual_means
Plot annual count of normal days and days above and below normalplot_annual_normal_days
Plot days above normal, below normal and normal for a specific yearplot_annual_normal_days_year
Plot annual days above and below normalplot_annual_outside_normal
Plot annual summary statistics (as lines)plot_annual_stats
Plot annual summary statistics (as ribbons)plot_annual_stats2
Plot daily streamflow data symbols by yearplot_annual_symbols
Plot cumulative daily flow statisticsplot_daily_cumulative_stats
Plot daily summary statisticsplot_daily_stats
Plot annual summary statistics for data screeningplot_data_screening
Plot a daily streamflow data setplot_flow_data
Plot daily streamflow data with their symbolsplot_flow_data_symbols
Plot flow duration curvesplot_flow_duration
Plot long-term summary statistics from daily mean flowsplot_longterm_daily_stats
Plot long-term summary statistics from annual monthly mean flowsplot_longterm_monthly_stats
Plot annual and monthly missing datesplot_missing_dates
Plot cumulative monthly flow statisticsplot_monthly_cumulative_stats
Plot monthly means and percent LTMADsplot_monthly_means
Plot monthly summary statisticsplot_monthly_stats
Plot monthly summary statistics (as ribbons)plot_monthly_stats2
Calculate annual summary and missing data statistics for screening datascreen_flow_data
Write a streamflow dataset as a .xlsx, .xls, or .csv filewrite_flow_data
Write a suite of tables and plots from various fasstr functions into a directorywrite_full_analysis
Write all data frames and plots from a list of objects into a directorywrite_objects_list
Write plots from a list into a directory or PDF documentwrite_plots
Write a data frame as a .xlsx, .xls, or .csv filewrite_results