Learn R Programming

fasstr (version 0.5.3)

Analyze, Summarize, and Visualize Daily Streamflow Data

Description

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 ().

Copy Link

Version

Install

install.packages('fasstr')

Monthly Downloads

478

Version

0.5.3

License

Apache License 2.0

Issues

Pull Requests

Stars

Forks

Maintainer

Jon Goetz

Last Published

September 27th, 2024

Functions in fasstr (0.5.3)

calc_annual_extremes

Calculate annual high and low flows
calc_annual_normal_days

Calculate annual days above and below normal
calc_annual_stats

Calculate annual summary statistics
calc_annual_flow_timing

Calculate annual timing of flows
calc_annual_lowflows

Calculate annual low flows and dates
calc_annual_outside_normal

Calculate annual days above and below normal
calc_annual_highflows

Calculate annual high flows and dates
calc_daily_cumulative_stats

Calculate cumulative daily flow statistics
calc_annual_peaks

Calculate annual high and low flows
calc_daily_stats

Calculate daily summary statistics
calc_longterm_daily_stats

Calculate long-term summary statistics from daily mean flows
compute_annual_trends

Calculate prewhitened nonlinear annual trends on streamflow data
calc_longterm_monthly_stats

Calculate long-term summary statistics from annual monthly mean flows
compute_frequency_analysis

Perform a custom volume frequency analysis
compute_annual_frequencies

Perform an annual low or high-flow frequency analysis
calc_flow_percentile

Calculate the percentile rank of a flow value
calc_longterm_mean

Calculate the long-term mean annual discharge
calc_monthly_stats

Calculate monthly summary statistics
calc_longterm_percentile

Calculate long-term percentiles
calc_monthly_cumulative_stats

Calculate cumulative monthly flow statistics
compute_frequency_quantile

Calculate an annual frequency analysis quantile
plot_annual_extremes

Plot annual high and low flows
compute_hydat_peak_frequencies

Perform a frequency analysis on annual peak statistics from HYDAT
plot_annual_flow_timing_year

Plot annual timing of flows for a specific year
plot_annual_extremes_year

Plot annual high and low flows for a specific year
fasstr-package

fasstr: Analyze, Summarize, and Visualize Daily Streamflow Data
compute_full_analysis

Compute a suite of tables and plots from various fasstr functions
fill_missing_dates

Fills data gaps of missing dates
plot_annual_cumulative_stats

Plot annual (and seasonal) total cumulative flows
plot_annual_flow_timing

Plot annual timing of flows
plot_annual_outside_normal

Plot annual days above and below normal
plot_annual_means

Plot annual means compared to the long-term mean
plot_annual_normal_days_year

Plot days above normal, below normal and normal for a specific year
plot_annual_stats

Plot annual summary statistics (as lines)
plot_annual_symbols

Plot daily streamflow data symbols by year
plot_annual_lowflows

Plot annual low flows and dates
plot_annual_stats2

Plot annual summary statistics (as ribbons)
plot_annual_highflows

Plot annual high flows and dates
plot_annual_normal_days

Plot annual count of normal days and days above and below normal
plot_daily_cumulative_stats

Plot cumulative daily flow statistics
plot_flow_data

Plot a daily streamflow data set
plot_flow_duration

Plot flow duration curves
plot_longterm_daily_stats

Plot long-term summary statistics from daily mean flows
plot_flow_data_symbols

Plot daily streamflow data with their symbols
plot_monthly_means

Plot monthly means and percent LTMADs
plot_monthly_cumulative_stats

Plot cumulative monthly flow statistics
plot_daily_stats

Plot daily summary statistics
plot_longterm_monthly_stats

Plot long-term summary statistics from annual monthly mean flows
plot_missing_dates

Plot annual and monthly missing dates
plot_data_screening

Plot annual summary statistics for data screening
screen_flow_data

Calculate annual summary and missing data statistics for screening data
reexports

Objects exported from other packages
plot_monthly_stats2

Plot monthly summary statistics (as ribbons)
write_plots

Write plots from a list into a directory or PDF document
write_objects_list

Write all data frames and plots from a list of objects into a directory
write_results

Write a data frame as a .xlsx, .xls, or .csv file
plot_monthly_stats

Plot monthly summary statistics
write_flow_data

Write a streamflow dataset as a .xlsx, .xls, or .csv file
write_full_analysis

Write a suite of tables and plots from various fasstr functions into a directory
add_daily_yield

Add a daily volumetric water yield column to daily flows
add_date_variables

Add year, month, and day of year variable columns to daily flows
add_rolling_means

Add rolling n-day average column(s) to daily flows
add_basin_area

Add a basin area column to daily flows
calc_all_annual_stats

Calculate all fasstr annual statistics
add_cumulative_yield

Add a daily cumulative water yield column to daily flows
add_seasons

Add a column of seasons
add_daily_volume

Add a daily volumetric flows column to daily flows
add_cumulative_volume

Add a daily cumulative volumetric flows column to daily flows
calc_annual_cumulative_stats

Calculate annual (and seasonal) total cumulative flows