diff --git a/docs/404.html b/docs/404.html index 1c89e4bf..5ef78f90 100644 --- a/docs/404.html +++ b/docs/404.html @@ -32,7 +32,7 @@ fasstr - 0.5.1 + 0.5.2 diff --git a/docs/CODE_OF_CONDUCT.html b/docs/CODE_OF_CONDUCT.html index 011e262a..c02d33aa 100644 --- a/docs/CODE_OF_CONDUCT.html +++ b/docs/CODE_OF_CONDUCT.html @@ -17,7 +17,7 @@ fasstr - 0.5.1 + 0.5.2 diff --git a/docs/CONTRIBUTING.html b/docs/CONTRIBUTING.html index 690e42af..ab50f145 100644 --- a/docs/CONTRIBUTING.html +++ b/docs/CONTRIBUTING.html @@ -17,7 +17,7 @@ fasstr - 0.5.1 + 0.5.2 diff --git a/docs/LICENSE.html b/docs/LICENSE.html index adcfd66a..c951097d 100644 --- a/docs/LICENSE.html +++ b/docs/LICENSE.html @@ -17,7 +17,7 @@ fasstr - 0.5.1 + 0.5.2 @@ -130,17 +130,17 @@

NA

  • Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.

  • END OF TERMS AND CONDITIONS

    APPENDIX: How to apply the Apache License to your work.

    -
      To apply the Apache License to your work, attach the following
    -  boilerplate notice, with the fields enclosed by brackets "{}"
    -  replaced with your own identifying information. (Don't include
    -  the brackets!)  The text should be enclosed in the appropriate
    -  comment syntax for the file format. We also recommend that a
    -  file or class name and description of purpose be included on the
    -  same "printed page" as the copyright notice for easier
    -  identification within third-party archives.
    +
      To apply the Apache License to your work, attach the following
    +  boilerplate notice, with the fields enclosed by brackets "{}"
    +  replaced with your own identifying information. (Don't include
    +  the brackets!)  The text should be enclosed in the appropriate
    +  comment syntax for the file format. We also recommend that a
    +  file or class name and description of purpose be included on the
    +  same "printed page" as the copyright notice for easier
    +  identification within third-party archives.

    Copyright {yyyy} {name of copyright owner}

    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
    +
       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.

    diff --git a/docs/articles/fasstr.html b/docs/articles/fasstr.html index 84c374b0..e8c4e1e6 100644 --- a/docs/articles/fasstr.html +++ b/docs/articles/fasstr.html @@ -33,7 +33,7 @@ fasstr - 0.5.1 + 0.5.2 diff --git a/docs/articles/fasstr_dataRetrieval.html b/docs/articles/fasstr_dataRetrieval.html index e6d59576..64d7ea9b 100644 --- a/docs/articles/fasstr_dataRetrieval.html +++ b/docs/articles/fasstr_dataRetrieval.html @@ -33,7 +33,7 @@ fasstr - 0.5.1 + 0.5.2 @@ -244,14 +244,14 @@

    Keeping NWIS column names # One station usgs_data <- readNWISdv(siteNumbers = "12043300", - parameterCd = "00060") %>% + parameterCd = "00060") %>% mutate(X_00060_00003 = X_00060_00003 * cfs_to_cms) plot_flow_data(data = usgs_data, values = X_00060_00003) # Multiple stations usgs_data <- readNWISdv(siteNumbers = c("12043300", "12048000"), - parameterCd = "00060") %>% + parameterCd = "00060") %>% mutate(X_00060_00003 = X_00060_00003 * cfs_to_cms) plot_flow_data(data = usgs_data, values = X_00060_00003, @@ -290,15 +290,15 @@

    Renaming NWIS column names # One station usgs_data <- readNWISdv(siteNumbers = "12043300", - parameterCd = "00060") %>% - rename(Value = X_00060_00003) %>% + parameterCd = "00060") %>% + rename(Value = X_00060_00003) %>% mutate(Value = Value * cfs_to_cms) # Multiple stations usgs_data <- readNWISdv(siteNumbers = c("12043300", "12048000"), - parameterCd = "00060") %>% + parameterCd = "00060") %>% rename(STATION_NUMBER = site_no, - Value = X_00060_00003) %>% + Value = X_00060_00003) %>% mutate(Value = Value * cfs_to_cms) # Use a fasstr function @@ -327,9 +327,9 @@

    Getting and converting drai # Get data and apply to fasstr function readNWISdv(siteNumbers = "12043300", - parameterCd = "00060") %>% - rename(Value = X_00060_00003) %>% - mutate(Value = Value * cfs_to_cms) %>% + parameterCd = "00060") %>% + rename(Value = X_00060_00003) %>% + mutate(Value = Value * cfs_to_cms) %>% plot_daily_cumulative_stats(basin_area = basin_area_NWIS, use_yield = TRUE, add_year = 2000) @@ -342,8 +342,8 @@

    Getting and converting drai sqmile_to_sqkm <- 2.58999 # Get station information -site_info <- readNWISsite(c("12043300", "12048000")) %>% - select(site_no, drain_area_va) %>% +site_info <- readNWISsite(c("12043300", "12048000")) %>% + select(site_no, drain_area_va) %>% mutate(Basin_Area_sqkm = drain_area_va * sqmile_to_sqkm) # Create named vector of areas to send to basin area @@ -351,10 +351,10 @@

    Getting and converting drai # Get data and apply to fasstr function readNWISdv(siteNumbers = c("12043300", "12048000"), - parameterCd = "00060") %>% + parameterCd = "00060") %>% rename(Value = X_00060_00003, - STATION_NUMBER = site_no) %>% - mutate(Value = Value * cfs_to_cms) %>% + STATION_NUMBER = site_no) %>% + mutate(Value = Value * cfs_to_cms) %>% plot_daily_cumulative_stats(use_yield = TRUE, basin_area = areas, add_year = 2000) @@ -382,8 +382,8 @@

    Handy formatting functionscalc_annual_stats(usgs_data) # and in a pipeline -readNWISdv("12043300", parameterCd = "00060") %>% - usgs_to_hydat() %>% +readNWISdv("12043300", parameterCd = "00060") %>% + usgs_to_hydat() %>% calc_annual_stats()

    This second function integrates readNWISdv() with the first function that will both download and convert the data for @@ -404,7 +404,7 @@

    Handy formatting functionscalc_annual_stats(usgs_data) # and in a pipeline -readNWISdv_hydat("12043300") %>% +readNWISdv_hydat("12043300") %>% calc_annual_stats()

    This third function is the same as the second, but adds a column of drainage basin areas, in square kilometres, extracted and converted from @@ -507,12 +507,12 @@

    Renaming NWIS column names
     # One station
     usgs_data <- readNWISdv(siteNumbers = "12043300", 
    -                        parameterCd = "00060") %>% 
    +                        parameterCd = "00060") %>% 
       rename(Value = X_00060_00003)
     
     # Multiple stations
     usgs_data <- readNWISdv(siteNumbers = c("12043300", "12048000"), 
    -                        parameterCd = "00060") %>% 
    +                        parameterCd = "00060") %>% 
       rename(STATION_NUMBER = site_no, 
              Value = X_00060_00003)
    @@ -543,7 +543,7 @@

    Use of drainage basin areas
     # Get a NWIS basin area
    -area_sqmile <- dataRetrieval::readNWISsite(siteNumbers = "12043300") %>% 
    +area_sqmile <- dataRetrieval::readNWISsite(siteNumbers = "12043300") %>% 
       pull(drain_area_va)
     
     # Drainage basin area conversion for fasstr
    @@ -551,28 +551,28 @@ 

    Use of drainage basin areas# Get NWIS data usgs_data <- readNWISdv(siteNumbers = "12043300", - parameterCd = "00060") %>% + parameterCd = "00060") %>% rename(Value = X_00060_00003) # Add daily yield in inches, with 2323.2 basin area multiplier add_daily_yield(data = usgs_data, - basin_area = area_sqmile * area_adjust) %>% + basin_area = area_sqmile * area_adjust) %>% rename(Yield_inch = Yield_mm) # Calculate total annual inches, with multiplier calc_annual_cumulative_stats(data = usgs_data, use_yield = TRUE, basin_area = area_sqmile * area_adjust, - water_year_start = 10) %>% + water_year_start = 10) %>% rename(Total_Yield_inch = Total_Yield_mm) # Plot daily cumulative discharge, with multiplier plot_daily_cumulative_stats(data = usgs_data, use_yield = TRUE, basin_area = area_sqmile * area_adjust, - water_year_start = 10) %>% - magrittr::extract2(1) + # extracts plot from list - ggplot2::ylab("Runoff, inch")

    + water_year_start = 10) %>% + magrittr::extract2(1) + # extracts plot from list + ggplot2::ylab("Runoff, inch")

    Use of acre-feet data and results @@ -587,14 +587,14 @@

    Use of acre-feet data and results # Get NWIS data, rename to Value, and convert cfs to acre-feet usgs_data <- readNWISdv(siteNumbers = "12043300", - parameterCd = "00060") %>% - rename(Value = X_00060_00003) %>% + parameterCd = "00060") %>% + rename(Value = X_00060_00003) %>% mutate(Value = Value * cfs_to_acft) # Plot the acre-feet units, extract the plot (using [[1]]), # and rename the y-axis to appropriate units plot_daily_stats(usgs_data, complete_years = TRUE)[[1]]+ - ylab("Discharge, acre-feet per day")

    + ylab("Discharge, acre-feet per day")

    As some fasstr functions report numbers in volumetric discharge and derive values from ‘per seconds’ units (i.e. cms or cfs) the original values are multiplied by 86400 seconds to obtain the daily @@ -609,15 +609,15 @@

    Use of acre-feet data and results# Get NWIS data, rename to Value, and convert cfs to # acre-feet per second usgs_data <- readNWISdv(siteNumbers = "12043300", - parameterCd = "00060") %>% - rename(Value = X_00060_00003) %>% + parameterCd = "00060") %>% + rename(Value = X_00060_00003) %>% mutate(Value = Value * cfs_to_acftsec) # Plot the daily cumulative stats for all years with 2000 data, # extract the plot and rename the y-axis plot_daily_cumulative_stats(usgs_data, add_year = 2000)[[1]]+ - ylab("Cumulative Discharge, acre-feet") + ylab("Cumulative Discharge, acre-feet") # Calculate annual and seasonal cumulative flows and # rename the column headers @@ -645,17 +645,17 @@

    Examples: data wrangling
     # Get daily data for examples
     usgs_data <- readNWISdv(siteNumbers = "12043300", 
    -                        parameterCd = "00060") %>% 
    +                        parameterCd = "00060") %>% 
       rename(Value = X_00060_00003,
              STATION_NUMBER = site_no)
     
     # Get drainage basin area for examples
    -usgs_basin_area <- readNWISsite(siteNumbers = "12043300") %>% 
    +usgs_basin_area <- readNWISsite(siteNumbers = "12043300") %>% 
       pull(drain_area_va)
     
     # Get daily data for examples with multiple stations
     usgs_data_multiple <- readNWISdv(siteNumbers = c("12043300", "12048000"), 
    -                                 parameterCd = "00060") %>% 
    +                                 parameterCd = "00060") %>% 
       rename(Value = X_00060_00003,
              STATION_NUMBER = site_no)

    To be consistent with many USGS streamflow analyses, these examples @@ -679,20 +679,20 @@

    Examples: tidying functions_cumulative_ functions and columns are renamed to match the appropriate units where necessary.

    -usgs_data %>% 
    -  fill_missing_dates(water_year_start = 10) %>% 
    -  add_date_variables(water_year_start = 10) %>% 
    +usgs_data %>% 
    +  fill_missing_dates(water_year_start = 10) %>% 
    +  add_date_variables(water_year_start = 10) %>% 
       add_seasons(water_year_start = 10,
    -              seasons_length = 3) %>% 
    -  add_rolling_means() %>% 
    -  add_daily_volume() %>% 
    -  rename(Volume_cuft = Volume_m3) %>% 
    -  add_cumulative_volume(water_year_start = 10) %>% 
    -  rename(Cumul_Volume_cuft = Cumul_Volume_m3) %>% 
    -  add_daily_yield(basin_area = usgs_basin_area * 2323.2) %>% 
    -  rename(Yield_inch = Yield_mm) %>%  
    +              seasons_length = 3) %>% 
    +  add_rolling_means() %>% 
    +  add_daily_volume() %>% 
    +  rename(Volume_cuft = Volume_m3) %>% 
    +  add_cumulative_volume(water_year_start = 10) %>% 
    +  rename(Cumul_Volume_cuft = Cumul_Volume_m3) %>% 
    +  add_daily_yield(basin_area = usgs_basin_area * 2323.2) %>% 
    +  rename(Yield_inch = Yield_mm) %>%  
       add_cumulative_yield(water_year_start = 10, 
    -                       basin_area = usgs_basin_area * 2323.2) %>% 
    +                       basin_area = usgs_basin_area * 2323.2) %>% 
       rename(Cumul_Yield_inch = Cumul_Yield_mm)
    @@ -715,7 +715,7 @@

    Examples: flow data screening# Plot the data, extract the plot, and rename the axis plot_flow_data(usgs_data)[[1]]+ - ylab("Discharge, cfs") + ylab("Discharge, cfs") # Alternatively, plot the data, and rename the axis label by modifying the ggplot code usgs_daily_plot <- plot_flow_data(usgs_data) @@ -725,7 +725,7 @@

    Examples: flow data screening# Plotting daily flows of multiple stations on one plot, extracting and renaming axis plot_flow_data(usgs_data_multiple, one_plot = TRUE)[[1]]+ - ylab("Discharge, cfs") + ylab("Discharge, cfs") # Plotting daily flows of multiple stations on different plots, and # renaming axes of existing ggplot2 objects @@ -766,7 +766,7 @@

    Examples: summary statisti complete_years = TRUE, custom_months = 7:9, custom_months_label = "Summer")[[1]]+ - ylab("Discharge, cubic feet per second") + ylab("Discharge, cubic feet per second") # Plot annual summary statistics, including annual 10th and 90th percentiles, starting # in 1996 and making the axis logarithmic, and renaming the axis title @@ -775,7 +775,7 @@

    Examples: summary statisti percentiles = c(10,90), start_year = 1996, log_discharge = TRUE)[[1]]+ - ylab("Discharge, cubic feet per second") + ylab("Discharge, cubic feet per second") # Calculate annual 7- and 30-day low flows calc_annual_lowflows(usgs_data, @@ -819,7 +819,7 @@

    Examples: summary statisti use_yield = TRUE, basin_area = usgs_basin_area * 2323.2, water_year_start = 10)[[1]]+ - ylab("Cumulative Runoff, inches")

    + ylab("Cumulative Runoff, inches")

    Examples: frequency analyses= 7) # Extract the plot and change the y-axis title to US units (doesn't change the original) lowflow_plot <- lowflow_7day$Freq_Plot + - ylab("Discharge, cubic feet per second")

    + ylab("Discharge, cubic feet per second")

    Compute a frequency analysis on annual instantaneous peak data from NWIS using the custom frequency analysis function:

     # dataRetrieval function to get annual instantaneous peak data, grouped by water years
    -usgs_peaks <- readNWISpeak("12043300") %>% 
    +usgs_peaks <- readNWISpeak("12043300") %>% 
       mutate(Measure = "Inst. Peaks")
     
     # Use the default column names for events and values for the custom analysis 
    @@ -997,9 +997,9 @@ 

    Examples: frequency analyses= TRUE) # Can also do the analysis with renaming parameters to match fasstr function, within a pipeline -flood_frequency <- readNWISpeak("12043300") %>% - select(Year = peak_dt, Value = peak_va) %>% - mutate(Measure = "Inst. Peaks") %>% +flood_frequency <- readNWISpeak("12043300") %>% + select(Year = peak_dt, Value = peak_va) %>% + mutate(Measure = "Inst. Peaks") %>% compute_frequency_analysis(use_max = TRUE) flood_frequency$Freq_Plot$labels$y <- "Discharge, cubic feet per second"

    Compute a single frequency quantile with default arguments. With this diff --git a/docs/articles/fasstr_files/figure-html/plot1-1.png b/docs/articles/fasstr_files/figure-html/plot1-1.png index 0707d110..1dbc3267 100644 Binary files a/docs/articles/fasstr_files/figure-html/plot1-1.png and b/docs/articles/fasstr_files/figure-html/plot1-1.png differ diff --git a/docs/articles/fasstr_files/figure-html/plot2-1.png b/docs/articles/fasstr_files/figure-html/plot2-1.png index 8d474771..e040ea1e 100644 Binary files a/docs/articles/fasstr_files/figure-html/plot2-1.png and b/docs/articles/fasstr_files/figure-html/plot2-1.png differ diff --git a/docs/articles/fasstr_files/figure-html/plot3-1.png b/docs/articles/fasstr_files/figure-html/plot3-1.png index eccbc6e7..d227af7b 100644 Binary files a/docs/articles/fasstr_files/figure-html/plot3-1.png and b/docs/articles/fasstr_files/figure-html/plot3-1.png differ diff --git a/docs/articles/fasstr_frequency_analysis.html b/docs/articles/fasstr_frequency_analysis.html index 19f86efd..75622fdb 100644 --- a/docs/articles/fasstr_frequency_analysis.html +++ b/docs/articles/fasstr_frequency_analysis.html @@ -33,7 +33,7 @@ fasstr - 0.5.1 + 0.5.2 @@ -556,17 +556,17 @@

    Fitted Quantiles
     freq_analysis$Freq_Fitted_Quantiles
       Distribution Probability Return.Period    X7.Day
    -1          PIII       0.010    100.000000 0.1992962
    -2          PIII       0.050     20.000000 0.2832672
    -3          PIII       0.100     10.000000 0.3366830
    -4          PIII       0.200      5.000000 0.4095274
    -5          PIII       0.500      2.000000 0.5726658
    -6          PIII       0.800      1.250000 0.7622194
    -7          PIII       0.900      1.111111 0.8687835
    -8          PIII       0.950      1.052632 0.9590939
    -9          PIII       0.975      1.025641 1.0382486
    -10         PIII       0.980      1.020408 1.0618442
    -11         PIII       0.990      1.010101 1.1302692
    +1 PIII 0.010 100.000000 0.2009985 +2 PIII 0.050 20.000000 0.2848988 +3 PIII 0.100 10.000000 0.3381424 +4 PIII 0.200 5.000000 0.4106176 +5 PIII 0.500 2.000000 0.5724508 +6 PIII 0.800 1.250000 0.7597812 +7 PIII 0.900 1.111111 0.8647971 +8 PIII 0.950 1.052632 0.9536358 +9 PIII 0.975 1.025641 1.0313822 +10 PIII 0.980 1.020408 1.0545367 +11 PIII 0.990 1.010101 1.1216267

    Notes on use of the Log-Pearson Type III Distribution diff --git a/docs/articles/fasstr_frequency_analysis_files/figure-html/unnamed-chunk-10-1.png b/docs/articles/fasstr_frequency_analysis_files/figure-html/unnamed-chunk-10-1.png index 5ad20e49..a1f00fde 100644 Binary files a/docs/articles/fasstr_frequency_analysis_files/figure-html/unnamed-chunk-10-1.png and b/docs/articles/fasstr_frequency_analysis_files/figure-html/unnamed-chunk-10-1.png differ diff --git a/docs/articles/fasstr_frequency_analysis_files/figure-html/unnamed-chunk-14-1.png b/docs/articles/fasstr_frequency_analysis_files/figure-html/unnamed-chunk-14-1.png index 619a2c9d..f4f8d5d2 100644 Binary files a/docs/articles/fasstr_frequency_analysis_files/figure-html/unnamed-chunk-14-1.png and b/docs/articles/fasstr_frequency_analysis_files/figure-html/unnamed-chunk-14-1.png differ diff --git a/docs/articles/fasstr_full_analysis.html b/docs/articles/fasstr_full_analysis.html index 65d910c4..e13a0808 100644 --- a/docs/articles/fasstr_full_analysis.html +++ b/docs/articles/fasstr_full_analysis.html @@ -33,7 +33,7 @@ fasstr - 0.5.1 + 0.5.2

    diff --git a/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-10-1.png b/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-10-1.png index 5b52d926..13203713 100644 Binary files a/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-10-1.png and b/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-10-1.png differ diff --git a/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-12-1.png b/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-12-1.png index 2647931f..4720ad13 100644 Binary files a/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-12-1.png and b/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-12-1.png differ diff --git a/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-13-1.png b/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-13-1.png index 7a69d923..4b5a9e17 100644 Binary files a/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-13-1.png and b/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-13-1.png differ diff --git a/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-23-1.png b/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-23-1.png index d6f45909..07cd5ffb 100644 Binary files a/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-23-1.png and b/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-23-1.png differ diff --git a/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-28-1.png b/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-28-1.png index 0f253f31..a6198584 100644 Binary files a/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-28-1.png and b/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-28-1.png differ diff --git a/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-29-1.png b/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-29-1.png index 1f457fed..a202305c 100644 Binary files a/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-29-1.png and b/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-29-1.png differ diff --git a/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-38-1.png b/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-38-1.png index 64e9d8df..68020bb7 100644 Binary files a/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-38-1.png and b/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-38-1.png differ diff --git a/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-4-1.png b/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-4-1.png index ebcbc73c..d0835310 100644 Binary files a/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-4-1.png and b/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-4-1.png differ diff --git a/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-40-1.png b/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-40-1.png index a295885f..a92e43f7 100644 Binary files a/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-40-1.png and b/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-40-1.png differ diff --git a/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-42-1.png b/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-42-1.png index f1edbf84..83ea8c4c 100644 Binary files a/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-42-1.png and b/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-42-1.png differ diff --git a/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-43-1.png b/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-43-1.png index 4e6f9242..647b9b01 100644 Binary files a/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-43-1.png and b/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-43-1.png differ diff --git a/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-45-1.png b/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-45-1.png index 9003207b..bf8719e3 100644 Binary files a/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-45-1.png and b/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-45-1.png differ diff --git a/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-46-1.png b/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-46-1.png index b66ac5ce..51ec1876 100644 Binary files a/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-46-1.png and b/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-46-1.png differ diff --git a/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-48-1.png b/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-48-1.png index 4501721a..77a569b7 100644 Binary files a/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-48-1.png and b/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-48-1.png differ diff --git a/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-49-1.png b/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-49-1.png index 4bc5d27f..22044998 100644 Binary files a/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-49-1.png and b/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-49-1.png differ diff --git a/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-55-1.png b/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-55-1.png index a29d75da..0ec0ada7 100644 Binary files a/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-55-1.png and b/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-55-1.png differ diff --git a/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-8-1.png b/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-8-1.png index a070255c..ef6c49cd 100644 Binary files a/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-8-1.png and b/docs/articles/fasstr_full_analysis_files/figure-html/unnamed-chunk-8-1.png differ diff --git a/docs/articles/fasstr_trending_analysis.html b/docs/articles/fasstr_trending_analysis.html index b41d3578..1a6d684b 100644 --- a/docs/articles/fasstr_trending_analysis.html +++ b/docs/articles/fasstr_trending_analysis.html @@ -33,7 +33,7 @@ fasstr - 0.5.1 + 0.5.2 diff --git a/docs/articles/fasstr_under_the_hood.html b/docs/articles/fasstr_under_the_hood.html index efd85656..b58f5839 100644 --- a/docs/articles/fasstr_under_the_hood.html +++ b/docs/articles/fasstr_under_the_hood.html @@ -33,7 +33,7 @@ fasstr - 0.5.1 + 0.5.2 @@ -278,7 +278,7 @@

    2. Tidying Functions (add_ flow_data <- flow_data[, c(orig_cols, paste('Yield_mm'))] } -dplyr::as_tibble(flow_data) +dplyr::as_tibble(flow_data)
    @@ -434,8 +434,8 @@

    Final Data Wranglingstat_levels <- names(annual_stats[-(1:2)]) # Transpose the columns for rows - annual_stats <- tidyr::gather(annual_stats, Statistic, Value, -STATION_NUMBER, -Year) - annual_stats <- tidyr::spread(annual_stats, Year, Value) + annual_stats <- tidyr::gather(annual_stats, Statistic, Value, -STATION_NUMBER, -Year) + annual_stats <- tidyr::spread(annual_stats, Year, Value) # Order the columns annual_stats$Statistic <- factor(annual_stats$Statistic, levels = stat_levels) @@ -453,7 +453,7 @@

    Final Data Wranglingannual_stats <- dplyr::select(annual_stats, -STATION_NUMBER) } -dplyr::as_tibble(annual_stats)

    +dplyr::as_tibble(annual_stats)
    @@ -495,11 +495,11 @@

    Plotting Statisticstidyr::nest() a tibble is created +each grouping. Then using tidyr::nest() a tibble is created with two columns, the first being the ’STATION_NUMBER’ and the second being a tibble of data for each ‘STATION_NUMBER’ (a tibble of tibbles). Then using dplyr::mutate() function a column of ggplots is -created; and using purrr::map2() all of the plots can be +created; and using purrr::map2() all of the plots can be created simultaneously (thus saving time in the function). As this type of table isn’t entirely user-friendly, each plot is extracted into a list and named appropriately (typically by each grouping and then the @@ -512,22 +512,22 @@

    Plotting Statistics= 1985, end_year = 2015) # Wrangle statistics for plotting -annual_stats <- tidyr::gather(annual_stats, Statistic, Value, -Year, -STATION_NUMBER) +annual_stats <- tidyr::gather(annual_stats, Statistic, Value, -Year, -STATION_NUMBER) # Group data by grouping tidy_plots <- dplyr::group_by(annual_stats, STATION_NUMBER) # Create a tibble with a column of STATION_NUMBERs and a column of data for each STATION_NUMBER -tidy_plots <- tidyr::nest(tidy_plots) +tidy_plots <- tidyr::nest(tidy_plots) # Create a new column of plots using mutate and purrr::map2 tidy_plots <- dplyr::mutate(tidy_plots, - plot = purrr::map2(data, STATION_NUMBER, - ~ggplot2::ggplot(data = ., ggplot2::aes(x = Year, y = Value, color = Statistic)) + - ggplot2::theme(plot.title = ggplot2::element_text(hjust = 0.5)) + - ggplot2::geom_line(alpha = 0.5, na.rm = TRUE) + - ggplot2::geom_point(na.rm = TRUE) + - ggplot2::ylab('Discharge (cms)') + plot = purrr::map2(data, STATION_NUMBER, + ~ggplot2::ggplot(data = ., ggplot2::aes(x = Year, y = Value, color = Statistic)) + + ggplot2::theme(plot.title = ggplot2::element_text(hjust = 0.5)) + + ggplot2::geom_line(alpha = 0.5, na.rm = TRUE) + + ggplot2::geom_point(na.rm = TRUE) + + ggplot2::ylab('Discharge (cms)') )) diff --git a/docs/articles/fasstr_under_the_hood_files/figure-html/unnamed-chunk-7-1.png b/docs/articles/fasstr_under_the_hood_files/figure-html/unnamed-chunk-7-1.png index 3ed7b473..8a8c13f7 100644 Binary files a/docs/articles/fasstr_under_the_hood_files/figure-html/unnamed-chunk-7-1.png and b/docs/articles/fasstr_under_the_hood_files/figure-html/unnamed-chunk-7-1.png differ diff --git a/docs/articles/fasstr_under_the_hood_files/figure-html/unnamed-chunk-7-2.png b/docs/articles/fasstr_under_the_hood_files/figure-html/unnamed-chunk-7-2.png index af82e41a..a9e97984 100644 Binary files a/docs/articles/fasstr_under_the_hood_files/figure-html/unnamed-chunk-7-2.png and b/docs/articles/fasstr_under_the_hood_files/figure-html/unnamed-chunk-7-2.png differ diff --git a/docs/articles/fasstr_users_guide.html b/docs/articles/fasstr_users_guide.html index 027954bb..4018b13e 100644 --- a/docs/articles/fasstr_users_guide.html +++ b/docs/articles/fasstr_users_guide.html @@ -33,7 +33,7 @@ fasstr - 0.5.1 + 0.5.2 @@ -389,8 +389,8 @@

    4. Data Tidying FunctionsThe functions are set up to easily incorporate the use of the pipe operator:

    -fill_missing_dates(station_number = "08HA011") %>% 
    -  add_date_variables() %>% 
    +fill_missing_dates(station_number = "08HA011") %>% 
    +  add_date_variables() %>% 
       add_rolling_means(roll_days = 7)
      STATION_NUMBER       Date Parameter Value Symbol CalendarYear Month MonthName
     1        08HA011 1960-01-01      Flow  62.9      E         1960     1       Jan
    @@ -429,7 +429,7 @@ 

    Filling missing datestidyhydat::hy_daily_flows(station_number = "08NM116") # Gap filled with NA's -tidyhydat::hy_daily_flows(station_number = "08NM116") %>% +tidyhydat::hy_daily_flows(station_number = "08NM116") %>% fill_missing_dates()

    It is ideal to fill missing dates before using other add_* functions so dates added are not missing the other @@ -622,14 +622,14 @@

    Pipelines
    -fill_missing_dates(station_number = "08NM116") %>% 
    -  add_date_variables(water_year_start = 9) %>%
    -  add_seasons(seasons_length = 3) %>% 
    -  add_rolling_means() %>%
    -  add_basin_area() %>% 
    -  add_daily_volume() %>%
    -  add_daily_yield() %>%
    -  add_cumulative_volume() %>% 
    +fill_missing_dates(station_number = "08NM116") %>% 
    +  add_date_variables(water_year_start = 9) %>%
    +  add_seasons(seasons_length = 3) %>% 
    +  add_rolling_means() %>%
    +  add_basin_area() %>% 
    +  add_daily_volume() %>%
    +  add_daily_yield() %>%
    +  add_cumulative_volume() %>% 
       add_cumulative_yield()

    @@ -749,7 +749,8 @@

    5. Data Screening Functions
     plot_annual_symbols(station_number = "08NM116") 
    $Annual_Symbols
    -
    Warning: 
[1m
[22mRemoved 144 rows containing missing values (`geom_tile()`).
    +
    Warning: 
[1m
[22mRemoved 146 rows containing missing values or values outside the scale range
    +(`geom_tile()`).


    @@ -839,20 +840,20 @@

    Basic long-term statistics
     calc_longterm_daily_stats(station_number = "08NM116", 
                               start_year = 1974)
    -
       STATION_NUMBER     Month      Mean  Median Maximum Minimum     P10    P90
    -1         08NM116       Jan  1.122294  0.9340    9.50   0.160  0.5706  1.750
    -2         08NM116       Feb  1.127140  0.9435    5.81   0.140  0.5064  1.900
    -3         08NM116       Mar  1.748453  1.2400   17.50   0.380  0.6776  3.404
    -4         08NM116       Apr  8.169997  5.8000   53.50   0.505  1.4200 18.300
    -5         08NM116       May 25.182745 22.4000   95.40   2.550 10.4000 44.340
    -6         08NM116       Jun 22.375935 19.9000   86.20   0.450  6.1390 40.800
    -7         08NM116       Jul  6.237522  3.9700   76.80   0.332  1.2200 13.900
    -8         08NM116       Aug  2.176655  1.6300   22.40   0.427  0.8466  4.008
    -9         08NM116       Sep  2.319518  1.6300   17.60   0.364  0.7859  4.751
    -10        08NM116       Oct  2.152216  1.7200   15.20   0.267  0.8576  4.122
    -11        08NM116       Nov  1.950852  1.5600   11.70   0.260  0.6078  3.741
    -12        08NM116       Dec  1.254868  1.0700    7.30   0.244  0.5468  2.150
    -13        08NM116 Long-term  6.331062  1.8200   95.40   0.140  0.7060 20.100
    +
       STATION_NUMBER     Month      Mean Median Maximum Minimum     P10    P90
    +1         08NM116       Jan  1.116021  0.930    9.50   0.160  0.5717  1.750
    +2         08NM116       Feb  1.118619  0.934    5.81   0.140  0.5070  1.880
    +3         08NM116       Mar  1.732962  1.230   17.50   0.380  0.6800  3.369
    +4         08NM116       Apr  8.135122  5.780   53.50   0.505  1.4200 18.120
    +5         08NM116       May 25.034315 22.000   95.40   2.550 10.4700 43.900
    +6         08NM116       Jun 22.137576 19.650   86.20   0.450  6.0990 40.500
    +7         08NM116       Jul  6.137695  3.825   76.80   0.332  1.1870 13.630
    +8         08NM116       Aug  2.157565  1.620   22.40   0.427  0.8494  3.990
    +9         08NM116       Sep  2.295582  1.615   17.60   0.364  0.7880  4.700
    +10        08NM116       Oct  2.136288  1.695   15.20   0.267  0.8637  4.082
    +11        08NM116       Nov  1.962619  1.570   11.70   0.260  0.6117  3.750
    +12        08NM116       Dec  1.271259  1.080    7.30   0.244  0.5500  2.166
    +13        08NM116 Long-term  6.282538  1.805   95.40   0.140  0.7080 19.900

    The plot_longterm_daily_stats() will plot the monthly mean, median, maximum, and minimum values along with selected inner and outer percentiles ribbons on one plot. Change the inner and outer @@ -877,33 +878,33 @@

    Basic long-term statisticscalc_longterm_monthly_stats(station_number = "08NM116", start_year = 1974)
       STATION_NUMBER  Month      Mean     Median   Maximum    Minimum        P10
    -1         08NM116    Jan  1.122294  0.9679032  6.117742  0.3155161  0.6246516
    -2         08NM116    Feb  1.128056  0.9607586  3.831786  0.3528276  0.5149286
    -3         08NM116    Mar  1.748453  1.4009677  6.926774  0.5067419  0.8168000
    -4         08NM116    Apr  8.169997  7.7613333 23.880333  1.5993333  2.9978667
    -5         08NM116    May 25.182745 23.8483871 48.122581 13.9861288 16.1646452
    -6         08NM116    Jun 22.375935 21.8166669 48.640000  3.1504333 11.3063333
    -7         08NM116    Jul  6.237522  4.5012903 25.639355  0.9213871  2.0231935
    -8         08NM116    Aug  2.176655  1.7938710 10.193548  0.8721290  1.1316645
    -9         08NM116    Sep  2.319518  1.7580000  8.109333  0.6999667  1.0131933
    -10        08NM116    Oct  2.152216  1.8951613  5.661290  0.5329032  1.0350516
    -11        08NM116    Nov  1.950852  1.5526667  5.413667  0.4982333  0.7192933
    -12        08NM116    Dec  1.254868  1.0968065  3.648387  0.4502581  0.5574323
    -13        08NM116 Annual  6.330833  6.2744794 11.134121  2.8761370  4.3721797
    +1         08NM116    Jan  1.116021  0.9628871  6.117742  0.3155161  0.6246903
    +2         08NM116    Feb  1.119439  0.9530400  3.831786  0.3528276  0.5169643
    +3         08NM116    Mar  1.732962  1.3363387  6.926774  0.5067419  0.8178419
    +4         08NM116    Apr  8.135122  7.7333333 23.880333  1.5993333  3.0382333
    +5         08NM116    May 25.034315 23.8032259 48.122581 13.9861288 16.1880001
    +6         08NM116    Jun 22.137576 21.5011668 48.640000  3.1504333 10.8967667
    +7         08NM116    Jul  6.137695  4.4229032 25.639355  0.9213871  1.8967678
    +8         08NM116    Aug  2.157565  1.7775806 10.193548  0.8721290  1.1333774
    +9         08NM116    Sep  2.295582  1.7156667  8.109333  0.6999667  1.0157533
    +10        08NM116    Oct  2.136288  1.8703226  5.661290  0.5329032  1.0412000
    +11        08NM116    Nov  1.962619  1.6126333  5.413667  0.4982333  0.7207867
    +12        08NM116    Dec  1.271259  1.1046774  3.648387  0.4502581  0.5605258
    +13        08NM116 Annual  6.282280  6.2583836 11.134121  2.8761370  4.2507660
              P90
    -1   1.643419
    -2   1.696507
    -3   2.764129
    -4  12.821133
    -5  33.928387
    -6  36.802000
    -7  12.742839
    -8   3.365161
    -9   3.991000
    -10  3.628335
    -11  3.316533
    -12  2.093226
    -13  8.441362
    +1 1.633452 +2 1.689794 +3 2.739387 +4 12.749600 +5 33.679355 +6 36.800667 +7 12.676645 +8 3.362903 +9 3.959333 +10 3.616171 +11 3.294233 +12 2.084677 +13 8.438567

    The corresponding plot_longterm_monthly_stats() function plots the data, with similar options as plot_longterm_daily_stats().

    @@ -937,7 +938,8 @@

    Basic annual statistics start_year = 1974, log_discharge = TRUE)
    $Annual_Statistics
    -
    Warning: 
[1m
[22mTransformation introduced infinite values in continuous y-axis
    +
    Warning in ggplot2::scale_y_log10(expand = ggplot2::expansion(mult = c(0.02, :
    +
[1m
[22m
[32mlog-10
[39m transformation introduced infinite values.

    @@ -982,20 +984,20 @@

    Basic daily statistics
     calc_daily_stats(station_number = "08NM116", 
                      start_year = 1974)

    -
      STATION_NUMBER   Date DayofYear     Mean Median Minimum Maximum     P5    P25
    -1        08NM116 Jan-01         1 1.070319  0.977   0.328    2.51 0.5455 0.6850
    -2        08NM116 Jan-02         2 1.044745  0.929   0.310    2.26 0.5320 0.6795
    -3        08NM116 Jan-03         3 1.024426  0.905   0.290    2.00 0.5290 0.7020
    -4        08NM116 Jan-04         4 1.035596  0.910   0.284    2.52 0.5113 0.7235
    -5        08NM116 Jan-05         5 1.021064  0.899   0.302    2.25 0.5390 0.7090
    -6        08NM116 Jan-06         6 1.015681  0.870   0.315    2.32 0.5201 0.7335
    -    P75   P95
    -1 1.300 1.850
    -2 1.300 1.870
    -3 1.195 1.927
    -4 1.215 1.905
    -5 1.190 1.929
    -6 1.250 1.871
    +
      STATION_NUMBER   Date DayofYear     Mean Median Minimum Maximum      P5
    +1        08NM116 Jan-01         1 1.068750 0.9860   0.328    2.51 0.54725
    +2        08NM116 Jan-02         2 1.042771 0.9395   0.310    2.26 0.53400
    +3        08NM116 Jan-03         3 1.022583 0.9205   0.290    2.00 0.53050
    +4        08NM116 Jan-04         4 1.032208 0.9025   0.284    2.52 0.51335
    +5        08NM116 Jan-05         5 1.016521 0.8950   0.302    2.25 0.54050
    +6        08NM116 Jan-06         6 1.010042 0.8625   0.315    2.32 0.52045
    +      P25    P75    P95
    +1 0.69150 1.2750 1.8500
    +2 0.69025 1.2750 1.8650
    +3 0.70300 1.1875 1.9215
    +4 0.73175 1.1975 1.8875
    +5 0.70950 1.1850 1.9105
    +6 0.73800 1.2400 1.8545

    The plotting daily statistics function will plot the monthly mean, median, maximum, and minimum values along with selected inner and outer percentiles ribbons on one plot. Change the inner and outer percentile @@ -1045,15 +1047,15 @@

    Other Long-term Statistics start_year = 1974, percent_MAD = c(5,10,20))
      STATION_NUMBER    LTMAD    X5.MAD   X10.MAD  X20.MAD
    -1        08NM116 6.331062 0.3165531 0.6331062 1.266212
    +1 08NM116 6.282538 0.3141269 0.6282538 1.256508

    calc_longterm_percentile() calculates the selected long-term percentiles of all the daily flow values.

     calc_longterm_percentile(station_number = "08NM116",
                              start_year = 1974,
                              percentiles = c(25,50,75))
    -
      STATION_NUMBER  P25  P50  P75
    -1        08NM116 1.03 1.82 5.67
    +
      STATION_NUMBER  P25   P50  P75
    +1        08NM116 1.03 1.805 5.58

    calc_flow_percentile() calculates the percentile rank of a specified flow value, provided as flow_value. It compares the flow value to all daily flow values to determines the percentile @@ -1063,7 +1065,7 @@

    Other Long-term Statistics start_year = 1974, flow_value = 6.270)
      STATION_NUMBER Percentile
    -1        08NM116     76.397
    +1 08NM116 76.506

    Basic statistics and plotting volumetric and yield flows @@ -1084,13 +1086,13 @@

    Basic statisti ‘Volume_m3’ or ‘Yield_mm’ (from their respective add_* functions), the discharge axis title will adjust accordingly.

    -add_daily_volume(station_number = "08NM116") %>%
    +add_daily_volume(station_number = "08NM116") %>%
       plot_annual_stats(values = "Volume_m3",
                         start_year = 1974) 
    $Annual_Statistics

    -add_daily_yield(station_number = "08NM116") %>%
    +add_daily_yield(station_number = "08NM116") %>%
       plot_daily_stats(values = "Yield_mm",
                        start_year = 1974) 
    $Daily_Statistics
    @@ -1205,31 +1207,31 @@

    Cumulative monthly and statisticscalc_monthly_cumulative_stats(station_number = "08NM116", start_year = 1974)

       STATION_NUMBER Month      Mean    Median   Maximum    Minimum        P5
    -1         08NM116   Jan   3005952   2592432  16385760   845078.4   1503135
    -2         08NM116   Feb   5757593   4928947  24560928  1729123.2   2724589
    -3         08NM116   Mar  10440650   8677498  38265696  3086380.8   4902707
    -4         08NM116   Apr  31617282  28485389  74097331  9895046.4  13125819
    -5         08NM116   May  99066747  93268887 159751008 50343551.6  54632431
    -6         08NM116   Jun 157065172 158564131 255162529 76246877.0  90921640
    -7         08NM116   Jul 173771752 177670628 301884193 81422928.3  99999127
    -8         08NM116   Aug 179601706 181262189 311904865 84962822.7 103871315
    -9         08NM116   Sep 185613898 188800847 323685505 86777136.3 106433697
    -10        08NM116   Oct 191378392 192925325 337755745 88204464.3 109851699
    -11        08NM116   Nov 196435000 196449148 346120993 89495885.1 111684986
    -12        08NM116   Dec 199796039 197871983 351125627 90701856.3 113122665
    +1         08NM116   Jan   2989150   2578997  16385760   845078.4   1511767
    +2         08NM116   Feb   5719475   4890888  24560928  1729123.2   2734102
    +3         08NM116   Mar  10361041   8635205  38265696  3086380.8   4918048
    +4         08NM116   Apr  31447278  28262347  74097331  9895046.4  13166271
    +5         08NM116   May  98499186  91484726 159751008 50343551.6  54647836
    +6         08NM116   Jun 155879782 156396614 255162529 76246877.0  91034245
    +7         08NM116   Jul 172318984 177471648 301884193 81422928.3 100164933
    +8         08NM116   Aug 178097805 180792130 311904865 84962822.7 103379933
    +9         08NM116   Sep 184047954 187290446 323685505 86777136.3 106057482
    +10        08NM116   Oct 189769786 192634934 337755745 88204464.3 109521011
    +11        08NM116   Nov 194856894 195413731 346120993 89495885.1 112134313
    +12        08NM116   Dec 198261834 197364384 351125627 90701856.3 113557244
              P25       P75       P95
    -1    1950221   3407616   5231434
    -2    3743410   6122650  10551946
    -3    6587179  11744741  20279117
    -4   24031642  36248083  63880462
    -5   77104137 117601934 155839473
    -6  123343214 185879578 228437522
    -7  128909577 208896667 259840380
    -8  132292699 219312101 265726294
    -9  137414966 228368981 270057785
    -10 143054726 231213701 274458404
    -11 148326379 235173715 280909365
    -12 152096011 239892883 284372018
    +1 1952813 3339360 5216443 +2 3765031 6026702 10457035 +3 6599167 11733746 20042554 +4 23414530 36003874 63254900 +5 75785976 115911497 155790364 +6 117396280 185669021 228096484 +7 125320132 206338168 259162943 +8 129012415 218750047 264965395 +9 132618708 227954197 269259345 +10 136306260 230884539 273618393 +11 141394377 234482947 279956659 +12 145426017 238912243 283363324

    The plot_monthly_cumulative_stats() function will plot the monthly total mean, median, maximum, and minimum values along with the 5th, 25th, 75th, and 95th percentiles all on one plot. The @@ -1260,20 +1262,20 @@

    Cumulative daily statistics
     calc_daily_cumulative_stats(station_number = "08NM116", 
                                 start_year = 1974)
    -
      STATION_NUMBER   Date DayofYear      Mean   Median  Minimum Maximum       P5
    -1        08NM116 Jan-01         1  92475.57  84412.8  28339.2  216864  47131.2
    -2        08NM116 Jan-02         2 182741.51 164678.4  55123.2  412128  92793.6
    -3        08NM116 Jan-03         3 271251.88 241488.0  80179.2  581472 136987.2
    -4        08NM116 Jan-04         4 360727.35 316137.6 104716.8  768960 183902.4
    -5        08NM116 Jan-05         5 448947.27 391478.4 130809.6  952992 233496.0
    -6        08NM116 Jan-06         6 536702.09 474681.6 158025.6 1123200 282398.4
    +
      STATION_NUMBER   Date DayofYear     Mean   Median  Minimum Maximum       P5
    +1        08NM116 Jan-01         1  92340.0  85190.4  28339.2  216864  47282.4
    +2        08NM116 Jan-02         2 182435.4 166363.2  55123.2  412128  93139.2
    +3        08NM116 Jan-03         3 270786.6 245203.2  80179.2  581472 137570.4
    +4        08NM116 Jan-04         4 359969.4 320241.6 104716.8  768960 184528.8
    +5        08NM116 Jan-05         5 447796.8 392601.6 130809.6  952992 234036.0
    +6        08NM116 Jan-06         6 535064.4 466732.8 158025.6 1123200 283024.8
            P25      P75      P95
    -1  59184.0 112320.0 159840.0
    -2 117892.8 220320.0 325209.6
    -3 176083.2 331344.0 482544.0
    -4 239932.8 430272.0 621216.0
    -5 307497.6 531792.0 778377.6
    -6 367113.6 636163.2 958867.2
    +1 59745.6 110160.0 159840.0 +2 119383.2 218160.0 325123.2 +3 178891.2 328968.0 482328.0 +4 241358.4 429408.0 620352.0 +5 309182.4 531576.0 776779.2 +6 368366.4 636033.6 953942.4

    The plot_daily_cumulative_stats() function will plot the daily cumulative total mean, median, maximum, and minimum values along with the 5th, 25th, 75th, and 95th percentiles all on one plot. The @@ -1527,8 +1529,8 @@

    Annual extreme (both high and lo start_year = 1974, year_to_plot = 1999)
    $Annual_Extremes_Year
    -
    Warning: 
[1m
[22mTransformation introduced infinite values in continuous y-axis
    -
[1m
[22mTransformation introduced infinite values in continuous y-axis
    +
    Warning in ggplot2::scale_y_log10(breaks = scales::log_breaks(n = 8, base = 10), : 
[1m
[22m
[32mlog-10
[39m transformation introduced infinite values.
    +
[1m
[22m
[32mlog-10
[39m transformation introduced infinite values.

    @@ -1548,12 +1550,12 @@

    Number of normal ( calc_annual_normal_days(station_number = "08NM116", start_year = 1974)

      STATION_NUMBER Year Normal_Days Below_Normal_Days Above_Normal_Days
    -1        08NM116 1974         209                78                78
    -2        08NM116 1975         196               136                33
    -3        08NM116 1976         168                51               147
    -4        08NM116 1977         250               106                 9
    -5        08NM116 1978         236                17               112
    -6        08NM116 1979         139               155                71
    +1 08NM116 1974 210 77 78 +2 08NM116 1975 197 135 33 +3 08NM116 1976 172 51 143 +4 08NM116 1977 253 103 9 +5 08NM116 1978 237 16 112 +6 08NM116 1979 144 150 71

    Each of the above, below, and normal days can be plotted using the plot_annual_normal_days() function.

    @@ -2115,19 +2117,18 @@ 
    Including a standard title on th

    Customizing a plot by using additional ggplot2 functions:

    -
    Warning: package 'ggplot2' was built under R version 4.2.3
    -
    -# Create the plot list and extract the plot using [[1]]
    +library(ggplot2)
    +
    +# Create the plot list and extract the plot using [[1]]
     plot <- plot_daily_stats(station_number = "08NM116", start_year = 1980)[[1]]
     
     # Customize the plot with various `ggplot2` functions
     plot + 
    -  geom_hline(yintercept = 1.5, colour = "red", linetype = 2, size = 1) +
    -  geom_vline(xintercept = as.Date("1900-03-01"), colour = "darkgray", linetype = 1, size = 0.5) +
    -  geom_vline(xintercept = as.Date("1900-08-05"), colour = "darkgray", linetype = 1, size = 0.5) +
    -  ggtitle("Mission Creek Annual Hydrograph") +
    -  ylab("Flow (cms)")
    + geom_hline(yintercept = 1.5, colour = "red", linetype = 2, size = 1) + + geom_vline(xintercept = as.Date("1900-03-01"), colour = "darkgray", linetype = 1, size = 0.5) + + geom_vline(xintercept = as.Date("1900-08-05"), colour = "darkgray", linetype = 1, size = 0.5) + + ggtitle("Mission Creek Annual Hydrograph") + + ylab("Flow (cms)")
    Warning: 
[1m
[22mUsing `size` aesthetic for lines was deprecated in ggplot2 3.4.0.
     
[36mℹ
[39m Please use `linewidth` instead.
     
[90mThis warning is displayed once every 8 hours.
[39m
    @@ -2189,14 +2190,14 @@ 

    Writing a flow data setThe following will write an “xlsx” file called “08NM116_data_data.xlsx” into your working directory that includes all daily flow data from that station in HYDAT:

    -
    +
     write_flow_data(station_number = "08NM116")

    The following is an example of possible customization:

    -
    write_flow_data(station_number = "08NM116",
    -                start_year = 1960,
    -                end_year = 1970
    -                fill_missing = TRUE,
    -                file_name = "mission_creek.csv")
    +
    write_flow_data(station_number = "08NM116",
    +                start_year = 1960,
    +                end_year = 1970
    +                fill_missing = TRUE,
    +                file_name = "mission_creek.csv")

    Writing a data frame @@ -2210,7 +2211,7 @@

    Writing a data frame
    +
     annual_data <- calc_annual_stats(station_number = "08NM116")
     
     write_results(data = annual_data,
    @@ -2232,7 +2233,7 @@ 

    Writing a list of plotsggplots2:ggsave(), can also be used.

    The following will save each annual plot as a “png” file in a folder called “Annual Plots” in the working directory:

    -
    +
     annual_plots <- plot_annual_stats(station_number = c("08NM116","08NM242"))
     
     write_plots(plots = annual_data,
    @@ -2241,14 +2242,14 @@ 

    Writing a list of plotsThe following will save all annual plots as combined “pdf” document called “Annual Plots” in the working directory with each plot on a different page:

    -
    +
     annual_plots <- plot_annual_stats(station_number = c("08NM116","08NM242"))
     
     write_plots(plots = annual_data,
                 folder_name = "Annual Plots",
                 combined_pdf = TRUE)

    If you would prefer to save the plots using other functions, like the -ggplot2::ggsave() function, the desired plot must subsetted +ggplot2::ggsave() function, the desired plot must subsetted from the list first so the object provided the function is a plot object and not a list. Individual plots can be subsetted from their lists using either the dollar sign, $ @@ -2275,7 +2276,7 @@

    Writing a list of data frames a used.

    The following will save all plots and tables in a folder called “Frequency Analysis” in the working directory:

    -
    +
     freq_analysis <- compute_annual_frequencies(station_number = "08NM116")
     
     write_objects_list(list = freq_analysis,
    diff --git a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-107-1.png b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-107-1.png
    index a84bd1af..9a088aaf 100644
    Binary files a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-107-1.png and b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-107-1.png differ
    diff --git a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-110-1.png b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-110-1.png
    index ca8c3ac1..04ace690 100644
    Binary files a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-110-1.png and b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-110-1.png differ
    diff --git a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-18-1.png b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-18-1.png
    index b195cf62..1d42ed3e 100644
    Binary files a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-18-1.png and b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-18-1.png differ
    diff --git a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-19-1.png b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-19-1.png
    index bd21dbe0..c4f81726 100644
    Binary files a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-19-1.png and b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-19-1.png differ
    diff --git a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-23-1.png b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-23-1.png
    index 20ac78d7..cfe25b22 100644
    Binary files a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-23-1.png and b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-23-1.png differ
    diff --git a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-24-1.png b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-24-1.png
    index 25013d2c..38aba704 100644
    Binary files a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-24-1.png and b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-24-1.png differ
    diff --git a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-25-1.png b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-25-1.png
    index 9541ca81..8379a93f 100644
    Binary files a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-25-1.png and b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-25-1.png differ
    diff --git a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-28-1.png b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-28-1.png
    index bed671be..e4aeee5a 100644
    Binary files a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-28-1.png and b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-28-1.png differ
    diff --git a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-31-1.png b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-31-1.png
    index 4ae3dfe1..0afb97ec 100644
    Binary files a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-31-1.png and b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-31-1.png differ
    diff --git a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-34-1.png b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-34-1.png
    index fec18c7d..46de5528 100644
    Binary files a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-34-1.png and b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-34-1.png differ
    diff --git a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-37-1.png b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-37-1.png
    index 16f87105..6c339e05 100644
    Binary files a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-37-1.png and b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-37-1.png differ
    diff --git a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-40-1.png b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-40-1.png
    index 6bcdd343..8e4d5ea1 100644
    Binary files a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-40-1.png and b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-40-1.png differ
    diff --git a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-41-1.png b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-41-1.png
    index b3d63c56..22340b66 100644
    Binary files a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-41-1.png and b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-41-1.png differ
    diff --git a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-42-1.png b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-42-1.png
    index 03cfae7f..d1dcb4c6 100644
    Binary files a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-42-1.png and b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-42-1.png differ
    diff --git a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-43-1.png b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-43-1.png
    index 3c62e7d2..917461bd 100644
    Binary files a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-43-1.png and b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-43-1.png differ
    diff --git a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-50-1.png b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-50-1.png
    index 1acf7366..9f602d65 100644
    Binary files a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-50-1.png and b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-50-1.png differ
    diff --git a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-51-1.png b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-51-1.png
    index 650bdcc5..d27184b1 100644
    Binary files a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-51-1.png and b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-51-1.png differ
    diff --git a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-56-1.png b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-56-1.png
    index fab7f93a..f2c86f36 100644
    Binary files a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-56-1.png and b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-56-1.png differ
    diff --git a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-59-1.png b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-59-1.png
    index c64cc9e3..6cf62dc4 100644
    Binary files a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-59-1.png and b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-59-1.png differ
    diff --git a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-62-1.png b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-62-1.png
    index 4f2a6b43..fc08c338 100644
    Binary files a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-62-1.png and b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-62-1.png differ
    diff --git a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-65-1.png b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-65-1.png
    index 48e0037c..163df4e7 100644
    Binary files a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-65-1.png and b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-65-1.png differ
    diff --git a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-66-1.png b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-66-1.png
    index 6913f523..6f3b5bbe 100644
    Binary files a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-66-1.png and b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-66-1.png differ
    diff --git a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-69-1.png b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-69-1.png
    index 03b20cef..61d34d2f 100644
    Binary files a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-69-1.png and b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-69-1.png differ
    diff --git a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-69-2.png b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-69-2.png
    index dba79621..ecdae083 100644
    Binary files a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-69-2.png and b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-69-2.png differ
    diff --git a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-72-1.png b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-72-1.png
    index 15064539..33d6d8ed 100644
    Binary files a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-72-1.png and b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-72-1.png differ
    diff --git a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-72-2.png b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-72-2.png
    index 462a1a72..50ac1227 100644
    Binary files a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-72-2.png and b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-72-2.png differ
    diff --git a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-75-1.png b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-75-1.png
    index 30f39566..d8bd032d 100644
    Binary files a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-75-1.png and b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-75-1.png differ
    diff --git a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-75-2.png b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-75-2.png
    index 607e3e39..879844e0 100644
    Binary files a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-75-2.png and b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-75-2.png differ
    diff --git a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-76-1.png b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-76-1.png
    index 8e140720..6e7b8969 100644
    Binary files a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-76-1.png and b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-76-1.png differ
    diff --git a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-79-1.png b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-79-1.png
    index c76946ac..18709d0d 100644
    Binary files a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-79-1.png and b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-79-1.png differ
    diff --git a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-80-1.png b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-80-1.png
    index 20a65266..9b08476f 100644
    Binary files a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-80-1.png and b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-80-1.png differ
    diff --git a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-82-1.png b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-82-1.png
    index 8212c277..38022cc3 100644
    Binary files a/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-82-1.png and b/docs/articles/fasstr_users_guide_files/figure-html/unnamed-chunk-82-1.png differ
    diff --git a/docs/articles/index.html b/docs/articles/index.html
    index 5e1aeee5..c6a2df52 100644
    --- a/docs/articles/index.html
    +++ b/docs/articles/index.html
    @@ -17,7 +17,7 @@
           
           
             fasstr
    -        0.5.1
    +        0.5.2
           
         
    diff --git a/docs/authors.html b/docs/authors.html index c1aca873..d21887ba 100644 --- a/docs/authors.html +++ b/docs/authors.html @@ -17,7 +17,7 @@ fasstr - 0.5.1 + 0.5.2
    @@ -128,17 +128,18 @@

    Citation

    -

    Goetz J, Schwarz C (2023). +

    Goetz J, Schwarz C (2024). fasstr: Analyze, Summarize, and Visualize Daily Streamflow Data. -https://bcgov.github.io/fasstr/, -https://github.com/bcgov/fasstr. +R package version 0.5.2, +https://github.com/bcgov/fasstr, https://bcgov.github.io/fasstr/.

    @Manual{,
       title = {fasstr: Analyze, Summarize, and Visualize Daily Streamflow Data},
       author = {Jon Goetz and Carl James Schwarz},
    -  year = {2023},
    -  note = {https://bcgov.github.io/fasstr/,
    +  year = {2024},
    +  note = {R package version 0.5.2, 
     https://github.com/bcgov/fasstr},
    +  url = {https://bcgov.github.io/fasstr/},
     }

    diff --git a/docs/index.html b/docs/index.html index 92d4705c..da4f2b63 100644 --- a/docs/index.html +++ b/docs/index.html @@ -34,7 +34,7 @@ fasstr - 0.5.1 + 0.5.2
    @@ -145,7 +145,7 @@
  • selecting for rolling day averages (e.g. 7-day rolling average); and,
  • choosing how missing dates are handled, amongst others.
  • -

    This package is maintained by the Water Management Branch of the British Columbia Ministry of Forests.

    +

    This package is maintained by the Water Management Branch of the British Columbia Ministry of Water, Land and Resource Stewardship.

    Installation

    @@ -192,19 +192,19 @@

    How to Contribute

    License

    -
    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.
    +
    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.

    diff --git a/docs/news/index.html b/docs/news/index.html index 2f40a352..d7f68a6e 100644 --- a/docs/news/index.html +++ b/docs/news/index.html @@ -17,7 +17,7 @@ fasstr - 0.5.1 + 0.5.2 @@ -99,7 +99,15 @@

    Changelog

    - + +

    Updated: 27 Mar 2024

    +
    +

    Bug fixes:

    +
    +
    +
    +

    Updated: 20 Mar 2023

    Bug fixes:

    diff --git a/docs/pkgdown.yml b/docs/pkgdown.yml index 5126b575..02c6a079 100644 --- a/docs/pkgdown.yml +++ b/docs/pkgdown.yml @@ -1,4 +1,4 @@ -pandoc: 2.19.2 +pandoc: 3.1.1 pkgdown: 2.0.7 pkgdown_sha: ~ articles: @@ -9,7 +9,7 @@ articles: fasstr_trending_analysis: fasstr_trending_analysis.html fasstr_under_the_hood: fasstr_under_the_hood.html fasstr_users_guide: fasstr_users_guide.html -last_built: 2023-03-22T16:54Z +last_built: 2024-03-28T18:35Z urls: reference: https://bcgov.github.io/fasstr/reference article: https://bcgov.github.io/fasstr/articles diff --git a/docs/reference/Rplot002.png b/docs/reference/Rplot002.png index f3d40994..3215837e 100644 Binary files a/docs/reference/Rplot002.png and b/docs/reference/Rplot002.png differ diff --git a/docs/reference/add_basin_area.html b/docs/reference/add_basin_area.html index 7b8bb8e1..3286f61b 100644 --- a/docs/reference/add_basin_area.html +++ b/docs/reference/add_basin_area.html @@ -17,7 +17,7 @@ fasstr - 0.5.1 + 0.5.2
    @@ -166,7 +166,7 @@

    Examples

    basin_area = c("08NM116" = 800, "08NM242" = 10)) } -#> # A tibble: 35,528 × 6 +#> # A tibble: 37,323 × 6 #> STATION_NUMBER Date Parameter Value Symbol Basin_Area_sqkm #> <chr> <date> <chr> <dbl> <chr> <dbl> #> 1 08NM116 1949-04-01 Flow 1.13 E 800 @@ -179,7 +179,7 @@

    Examples

    #> 8 08NM116 1949-04-08 Flow 2.35 NA 800 #> 9 08NM116 1949-04-09 Flow 2.78 NA 800 #> 10 08NM116 1949-04-10 Flow 2.94 NA 800 -#> # … with 35,518 more rows +#> # ℹ 37,313 more rows

    diff --git a/docs/reference/add_cumulative_volume.html b/docs/reference/add_cumulative_volume.html index d3f2fd21..286750ca 100644 --- a/docs/reference/add_cumulative_volume.html +++ b/docs/reference/add_cumulative_volume.html @@ -19,7 +19,7 @@ fasstr - 0.5.1 + 0.5.2 @@ -179,7 +179,7 @@

    Examples

    water_year_start = 8) } -#> # A tibble: 23,079 × 6 +#> # A tibble: 23,444 × 6 #> STATION_NUMBER Date Parameter Value Symbol Cumul_Volume_m3 #> <chr> <date> <chr> <dbl> <chr> <dbl> #> 1 08NM116 1949-04-01 Flow 1.13 E NA @@ -192,7 +192,7 @@

    Examples

    #> 8 08NM116 1949-04-08 Flow 2.35 NA NA #> 9 08NM116 1949-04-09 Flow 2.78 NA NA #> 10 08NM116 1949-04-10 Flow 2.94 NA NA -#> # … with 23,069 more rows +#> # ℹ 23,434 more rows
    diff --git a/docs/reference/add_cumulative_yield.html b/docs/reference/add_cumulative_yield.html index 5e1c096d..ad22a5c8 100644 --- a/docs/reference/add_cumulative_yield.html +++ b/docs/reference/add_cumulative_yield.html @@ -20,7 +20,7 @@ fasstr - 0.5.1 + 0.5.2 @@ -196,7 +196,7 @@

    Examples

    basin_area = 800) } -#> # A tibble: 23,079 × 6 +#> # A tibble: 23,444 × 6 #> STATION_NUMBER Date Parameter Value Symbol Cumul_Yield_mm #> <chr> <date> <chr> <dbl> <chr> <dbl> #> 1 08NM116 1949-04-01 Flow 1.13 E NA @@ -209,7 +209,7 @@

    Examples

    #> 8 08NM116 1949-04-08 Flow 2.35 NA NA #> 9 08NM116 1949-04-09 Flow 2.78 NA NA #> 10 08NM116 1949-04-10 Flow 2.94 NA NA -#> # … with 23,069 more rows +#> # ℹ 23,434 more rows
    diff --git a/docs/reference/add_daily_volume.html b/docs/reference/add_daily_volume.html index db5e07d7..5a240477 100644 --- a/docs/reference/add_daily_volume.html +++ b/docs/reference/add_daily_volume.html @@ -18,7 +18,7 @@ fasstr - 0.5.1 + 0.5.2 @@ -146,7 +146,7 @@

    Examples

    add_daily_volume(station_number = "08NM116") } -#> # A tibble: 23,079 × 6 +#> # A tibble: 23,444 × 6 #> STATION_NUMBER Date Parameter Value Symbol Volume_m3 #> <chr> <date> <chr> <dbl> <chr> <dbl> #> 1 08NM116 1949-04-01 Flow 1.13 E 97632. @@ -159,7 +159,7 @@

    Examples

    #> 8 08NM116 1949-04-08 Flow 2.35 NA 203040. #> 9 08NM116 1949-04-09 Flow 2.78 NA 240192. #> 10 08NM116 1949-04-10 Flow 2.94 NA 254016. -#> # … with 23,069 more rows +#> # ℹ 23,434 more rows diff --git a/docs/reference/add_daily_yield.html b/docs/reference/add_daily_yield.html index 7d21e9b9..6410a6d2 100644 --- a/docs/reference/add_daily_yield.html +++ b/docs/reference/add_daily_yield.html @@ -18,7 +18,7 @@ fasstr - 0.5.1 + 0.5.2 @@ -171,7 +171,7 @@

    Examples

    basin_area = 800) } -#> # A tibble: 23,079 × 6 +#> # A tibble: 23,444 × 6 #> STATION_NUMBER Date Parameter Value Symbol Yield_mm #> <chr> <date> <chr> <dbl> <chr> <dbl> #> 1 08NM116 1949-04-01 Flow 1.13 E 0.122 @@ -184,7 +184,7 @@

    Examples

    #> 8 08NM116 1949-04-08 Flow 2.35 NA 0.254 #> 9 08NM116 1949-04-09 Flow 2.78 NA 0.300 #> 10 08NM116 1949-04-10 Flow 2.94 NA 0.318 -#> # … with 23,069 more rows +#> # ℹ 23,434 more rows diff --git a/docs/reference/add_date_variables.html b/docs/reference/add_date_variables.html index a66c6627..08a7d92c 100644 --- a/docs/reference/add_date_variables.html +++ b/docs/reference/add_date_variables.html @@ -19,7 +19,7 @@ fasstr - 0.5.1 + 0.5.2 @@ -169,21 +169,21 @@

    Examples

    water_year_start = 8) } -#> # A tibble: 23,079 × 10 -#> STATI…¹ Date Param…² Value Symbol Calen…³ Month Month…⁴ Water…⁵ Dayof…⁶ -#> <chr> <date> <chr> <dbl> <chr> <dbl> <dbl> <fct> <dbl> <dbl> -#> 1 08NM116 1949-04-01 Flow 1.13 E 1949 4 Apr 1949 244 -#> 2 08NM116 1949-04-02 Flow 1.53 E 1949 4 Apr 1949 245 -#> 3 08NM116 1949-04-03 Flow 2.07 E 1949 4 Apr 1949 246 -#> 4 08NM116 1949-04-04 Flow 2.07 E 1949 4 Apr 1949 247 -#> 5 08NM116 1949-04-05 Flow 2.21 E 1949 4 Apr 1949 248 -#> 6 08NM116 1949-04-06 Flow 2.21 NA 1949 4 Apr 1949 249 -#> 7 08NM116 1949-04-07 Flow 2.27 NA 1949 4 Apr 1949 250 -#> 8 08NM116 1949-04-08 Flow 2.35 NA 1949 4 Apr 1949 251 -#> 9 08NM116 1949-04-09 Flow 2.78 NA 1949 4 Apr 1949 252 -#> 10 08NM116 1949-04-10 Flow 2.94 NA 1949 4 Apr 1949 253 -#> # … with 23,069 more rows, and abbreviated variable names ¹​STATION_NUMBER, -#> # ²​Parameter, ³​CalendarYear, ⁴​MonthName, ⁵​WaterYear, ⁶​DayofYear +#> # A tibble: 23,444 × 10 +#> STATION_NUMBER Date Parameter Value Symbol CalendarYear Month MonthName +#> <chr> <date> <chr> <dbl> <chr> <dbl> <dbl> <fct> +#> 1 08NM116 1949-04-01 Flow 1.13 E 1949 4 Apr +#> 2 08NM116 1949-04-02 Flow 1.53 E 1949 4 Apr +#> 3 08NM116 1949-04-03 Flow 2.07 E 1949 4 Apr +#> 4 08NM116 1949-04-04 Flow 2.07 E 1949 4 Apr +#> 5 08NM116 1949-04-05 Flow 2.21 E 1949 4 Apr +#> 6 08NM116 1949-04-06 Flow 2.21 NA 1949 4 Apr +#> 7 08NM116 1949-04-07 Flow 2.27 NA 1949 4 Apr +#> 8 08NM116 1949-04-08 Flow 2.35 NA 1949 4 Apr +#> 9 08NM116 1949-04-09 Flow 2.78 NA 1949 4 Apr +#> 10 08NM116 1949-04-10 Flow 2.94 NA 1949 4 Apr +#> # ℹ 23,434 more rows +#> # ℹ 2 more variables: WaterYear <dbl>, DayofYear <dbl> diff --git a/docs/reference/add_rolling_means.html b/docs/reference/add_rolling_means.html index 2741dec1..44a85fc7 100644 --- a/docs/reference/add_rolling_means.html +++ b/docs/reference/add_rolling_means.html @@ -19,7 +19,7 @@ fasstr - 0.5.1 + 0.5.2 @@ -196,7 +196,7 @@

    Examples

    roll_align = "left") } -#> # A tibble: 23,079 × 8 +#> # A tibble: 23,444 × 8 #> STATION_NUMBER Date Parameter Value Symbol Q3Day Q7Day Q30Day #> <chr> <date> <chr> <dbl> <chr> <dbl> <dbl> <dbl> #> 1 08NM116 1949-04-01 Flow 1.13 E 1.58 1.93 7.51 @@ -209,7 +209,7 @@

    Examples

    #> 8 08NM116 1949-04-08 Flow 2.35 NA 2.69 3.85 10.1 #> 9 08NM116 1949-04-09 Flow 2.78 NA 3.70 4.20 10.7 #> 10 08NM116 1949-04-10 Flow 2.94 NA 4.36 4.78 11.4 -#> # … with 23,069 more rows +#> # ℹ 23,434 more rows diff --git a/docs/reference/add_seasons.html b/docs/reference/add_seasons.html index d0930bd0..ff830274 100644 --- a/docs/reference/add_seasons.html +++ b/docs/reference/add_seasons.html @@ -21,7 +21,7 @@ fasstr - 0.5.1 + 0.5.2 @@ -173,7 +173,7 @@

    Examples

    seasons_length = 6) } -#> # A tibble: 23,079 × 6 +#> # A tibble: 23,444 × 6 #> STATION_NUMBER Date Parameter Value Symbol Season #> <chr> <date> <chr> <dbl> <chr> <fct> #> 1 08NM116 1949-04-01 Flow 1.13 E Apr-Sep @@ -186,7 +186,7 @@

    Examples

    #> 8 08NM116 1949-04-08 Flow 2.35 NA Apr-Sep #> 9 08NM116 1949-04-09 Flow 2.78 NA Apr-Sep #> 10 08NM116 1949-04-10 Flow 2.94 NA Apr-Sep -#> # … with 23,069 more rows +#> # ℹ 23,434 more rows diff --git a/docs/reference/calc_all_annual_stats.html b/docs/reference/calc_all_annual_stats.html index 26e48348..76e5b229 100644 --- a/docs/reference/calc_all_annual_stats.html +++ b/docs/reference/calc_all_annual_stats.html @@ -28,7 +28,7 @@ fasstr - 0.5.1 + 0.5.2 diff --git a/docs/reference/calc_annual_cumulative_stats.html b/docs/reference/calc_annual_cumulative_stats.html index 3c66a63f..cc1ca9b2 100644 --- a/docs/reference/calc_annual_cumulative_stats.html +++ b/docs/reference/calc_annual_cumulative_stats.html @@ -21,7 +21,7 @@ fasstr - 0.5.1 + 0.5.2 @@ -264,7 +264,7 @@

    Examples

    } #> Warning: One or more calculations included missing values and NA's were produced. If desired, filter data for complete years or months, or use the 'ignore_missing' or 'allowed_missing' arguments (if applicable) to ignore or allow some missing values. #> Warning: One or more calculations included missing values and NA's were produced. If desired, filter data for complete years or months, or use the 'ignore_missing' or 'allowed_missing' arguments (if applicable) to ignore or allow some missing values. -#> # A tibble: 41 × 3 +#> # A tibble: 42 × 3 #> STATION_NUMBER Year Total_Yield_mm #> <chr> <dbl> <dbl> #> 1 08NM116 1980 212. @@ -277,7 +277,7 @@

    Examples

    #> 8 08NM116 1987 113. #> 9 08NM116 1988 180. #> 10 08NM116 1989 215. -#> # … with 31 more rows +#> # ℹ 32 more rows diff --git a/docs/reference/calc_annual_extremes.html b/docs/reference/calc_annual_extremes.html index 7bca4f3b..a9f7bb2b 100644 --- a/docs/reference/calc_annual_extremes.html +++ b/docs/reference/calc_annual_extremes.html @@ -18,7 +18,7 @@ fasstr - 0.5.1 + 0.5.2 @@ -303,21 +303,21 @@

    Examples

    } #> Warning: One or more calculations included missing values and NA's were produced. If desired, filter data for complete years or months, or use the 'ignore_missing' or 'allowed_missing' arguments (if applicable) to ignore or allow some missing values. #> Warning: One or more calculations included missing values and NA's were produced. If desired, filter data for complete years or months, or use the 'ignore_missing' or 'allowed_missing' arguments (if applicable) to ignore or allow some missing values. -#> # A tibble: 41 × 8 -#> STATION_NUMBER Year Min_3_Day Min_3_…¹ Min_3_Da…² Max_3…³ Max_3…⁴ Max_3_Da…⁵ -#> <chr> <dbl> <dbl> <dbl> <date> <dbl> <dbl> <date> -#> 1 08NM116 1980 0.632 9 1980-01-09 34.8 127 1980-05-06 -#> 2 08NM116 1981 0.468 260 1981-09-17 54.6 142 1981-05-22 -#> 3 08NM116 1982 0.883 6 1982-01-06 50.7 186 1982-07-05 -#> 4 08NM116 1983 0.562 357 1983-12-23 57.7 149 1983-05-29 -#> 5 08NM116 1984 0.742 365 1984-12-30 50.4 166 1984-06-14 -#> 6 08NM116 1985 0.429 190 1985-07-09 49.2 144 1985-05-24 -#> 7 08NM116 1986 0.663 50 1986-02-19 70.8 150 1986-05-30 -#> 8 08NM116 1987 0.339 333 1987-11-29 31.9 122 1987-05-02 -#> 9 08NM116 1988 0.150 32 1988-02-01 32.4 135 1988-05-14 -#> 10 08NM116 1989 0.524 271 1989-09-28 34.2 153 1989-06-02 -#> # … with 31 more rows, and abbreviated variable names ¹​Min_3_Day_DoY, -#> # ²​Min_3_Day_Date, ³​Max_3_Day, ⁴​Max_3_Day_DoY, ⁵​Max_3_Day_Date +#> # A tibble: 42 × 8 +#> STATION_NUMBER Year Min_3_Day Min_3_Day_DoY Min_3_Day_Date Max_3_Day +#> <chr> <dbl> <dbl> <dbl> <date> <dbl> +#> 1 08NM116 1980 0.632 9 1980-01-09 34.8 +#> 2 08NM116 1981 0.468 260 1981-09-17 54.6 +#> 3 08NM116 1982 0.883 6 1982-01-06 50.7 +#> 4 08NM116 1983 0.562 357 1983-12-23 57.7 +#> 5 08NM116 1984 0.742 365 1984-12-30 50.4 +#> 6 08NM116 1985 0.429 190 1985-07-09 49.2 +#> 7 08NM116 1986 0.663 50 1986-02-19 70.8 +#> 8 08NM116 1987 0.339 333 1987-11-29 31.9 +#> 9 08NM116 1988 0.150 32 1988-02-01 32.4 +#> 10 08NM116 1989 0.524 271 1989-09-28 34.2 +#> # ℹ 32 more rows +#> # ℹ 2 more variables: Max_3_Day_DoY <dbl>, Max_3_Day_Date <date> diff --git a/docs/reference/calc_annual_flow_timing.html b/docs/reference/calc_annual_flow_timing.html index 805a8fd1..339268e6 100644 --- a/docs/reference/calc_annual_flow_timing.html +++ b/docs/reference/calc_annual_flow_timing.html @@ -19,7 +19,7 @@ fasstr - 0.5.1 + 0.5.2 @@ -251,7 +251,7 @@

    Examples

    } #> Warning: One or more calculations included missing values and NA's were produced. If desired, filter data for complete years or months, or use the 'ignore_missing' or 'allowed_missing' arguments (if applicable) to ignore or allow some missing values. #> Warning: One or more calculations included missing values and NA's were produced. If desired, filter data for complete years or months, or use the 'ignore_missing' or 'allowed_missing' arguments (if applicable) to ignore or allow some missing values. -#> # A tibble: 72 × 4 +#> # A tibble: 73 × 4 #> STATION_NUMBER Year DoY_50pct_TotalQ Date_50pct_TotalQ #> <chr> <dbl> <dbl> <date> #> 1 08NM116 1949 NA NA @@ -264,7 +264,7 @@

    Examples

    #> 8 08NM116 1956 NA NA #> 9 08NM116 1957 NA NA #> 10 08NM116 1958 NA NA -#> # … with 62 more rows +#> # ℹ 63 more rows diff --git a/docs/reference/calc_annual_highflows.html b/docs/reference/calc_annual_highflows.html index 5f6adb01..24a372b5 100644 --- a/docs/reference/calc_annual_highflows.html +++ b/docs/reference/calc_annual_highflows.html @@ -18,7 +18,7 @@ fasstr - 0.5.1 + 0.5.2 @@ -288,21 +288,21 @@

    Examples

    } #> Warning: One or more calculations included missing values and NA's were produced. If desired, filter data for complete years or months, or use the 'ignore_missing' or 'allowed_missing' arguments (if applicable) to ignore or allow some missing values. #> Warning: One or more calculations included missing values and NA's were produced. If desired, filter data for complete years or months, or use the 'ignore_missing' or 'allowed_missing' arguments (if applicable) to ignore or allow some missing values. -#> # A tibble: 41 × 8 -#> STATION_NUMBER Year Max_3_Day Max_3_…¹ Max_3_Da…² Max_7…³ Max_7…⁴ Max_7_Da…⁵ -#> <chr> <dbl> <dbl> <dbl> <date> <dbl> <dbl> <date> -#> 1 08NM116 1980 34.8 127 1980-05-06 30.3 126 1980-05-05 -#> 2 08NM116 1981 54.6 142 1981-05-22 51.2 144 1981-05-24 -#> 3 08NM116 1982 50.7 186 1982-07-05 44.8 186 1982-07-05 -#> 4 08NM116 1983 57.7 149 1983-05-29 52.8 149 1983-05-29 -#> 5 08NM116 1984 50.4 166 1984-06-14 48.2 164 1984-06-12 -#> 6 08NM116 1985 49.2 144 1985-05-24 42.9 143 1985-05-23 -#> 7 08NM116 1986 70.8 150 1986-05-30 66.1 150 1986-05-30 -#> 8 08NM116 1987 31.9 122 1987-05-02 26.7 124 1987-05-04 -#> 9 08NM116 1988 32.4 135 1988-05-14 26.9 136 1988-05-15 -#> 10 08NM116 1989 34.2 153 1989-06-02 31.5 154 1989-06-03 -#> # … with 31 more rows, and abbreviated variable names ¹​Max_3_Day_DoY, -#> # ²​Max_3_Day_Date, ³​Max_7_Day, ⁴​Max_7_Day_DoY, ⁵​Max_7_Day_Date +#> # A tibble: 42 × 8 +#> STATION_NUMBER Year Max_3_Day Max_3_Day_DoY Max_3_Day_Date Max_7_Day +#> <chr> <dbl> <dbl> <dbl> <date> <dbl> +#> 1 08NM116 1980 34.8 127 1980-05-06 30.3 +#> 2 08NM116 1981 54.6 142 1981-05-22 51.2 +#> 3 08NM116 1982 50.7 186 1982-07-05 44.8 +#> 4 08NM116 1983 57.7 149 1983-05-29 52.8 +#> 5 08NM116 1984 50.4 166 1984-06-14 48.2 +#> 6 08NM116 1985 49.2 144 1985-05-24 42.9 +#> 7 08NM116 1986 70.8 150 1986-05-30 66.1 +#> 8 08NM116 1987 31.9 122 1987-05-02 26.7 +#> 9 08NM116 1988 32.4 135 1988-05-14 26.9 +#> 10 08NM116 1989 34.2 153 1989-06-02 31.5 +#> # ℹ 32 more rows +#> # ℹ 2 more variables: Max_7_Day_DoY <dbl>, Max_7_Day_Date <date> diff --git a/docs/reference/calc_annual_lowflows.html b/docs/reference/calc_annual_lowflows.html index 036ac30e..41bd7cfd 100644 --- a/docs/reference/calc_annual_lowflows.html +++ b/docs/reference/calc_annual_lowflows.html @@ -18,7 +18,7 @@ fasstr - 0.5.1 + 0.5.2 @@ -288,21 +288,21 @@

    Examples

    } #> Warning: One or more calculations included missing values and NA's were produced. If desired, filter data for complete years or months, or use the 'ignore_missing' or 'allowed_missing' arguments (if applicable) to ignore or allow some missing values. #> Warning: One or more calculations included missing values and NA's were produced. If desired, filter data for complete years or months, or use the 'ignore_missing' or 'allowed_missing' arguments (if applicable) to ignore or allow some missing values. -#> # A tibble: 41 × 8 -#> STATION_NUMBER Year Min_3_Day Min_3_…¹ Min_3_Da…² Min_7…³ Min_7…⁴ Min_7_Da…⁵ -#> <chr> <dbl> <dbl> <dbl> <date> <dbl> <dbl> <date> -#> 1 08NM116 1980 0.632 9 1980-01-09 0.655 7 1980-01-07 -#> 2 08NM116 1981 0.468 260 1981-09-17 0.885 258 1981-09-15 -#> 3 08NM116 1982 0.883 6 1982-01-06 1.05 5 1982-01-05 -#> 4 08NM116 1983 0.562 357 1983-12-23 0.634 357 1983-12-23 -#> 5 08NM116 1984 0.742 365 1984-12-30 0.766 366 1984-12-31 -#> 6 08NM116 1985 0.429 190 1985-07-09 0.589 189 1985-07-08 -#> 7 08NM116 1986 0.663 50 1986-02-19 0.719 49 1986-02-18 -#> 8 08NM116 1987 0.339 333 1987-11-29 0.334 365 1987-12-31 -#> 9 08NM116 1988 0.150 32 1988-02-01 0.186 33 1988-02-02 -#> 10 08NM116 1989 0.524 271 1989-09-28 0.577 270 1989-09-27 -#> # … with 31 more rows, and abbreviated variable names ¹​Min_3_Day_DoY, -#> # ²​Min_3_Day_Date, ³​Min_7_Day, ⁴​Min_7_Day_DoY, ⁵​Min_7_Day_Date +#> # A tibble: 42 × 8 +#> STATION_NUMBER Year Min_3_Day Min_3_Day_DoY Min_3_Day_Date Min_7_Day +#> <chr> <dbl> <dbl> <dbl> <date> <dbl> +#> 1 08NM116 1980 0.632 9 1980-01-09 0.655 +#> 2 08NM116 1981 0.468 260 1981-09-17 0.885 +#> 3 08NM116 1982 0.883 6 1982-01-06 1.05 +#> 4 08NM116 1983 0.562 357 1983-12-23 0.634 +#> 5 08NM116 1984 0.742 365 1984-12-30 0.766 +#> 6 08NM116 1985 0.429 190 1985-07-09 0.589 +#> 7 08NM116 1986 0.663 50 1986-02-19 0.719 +#> 8 08NM116 1987 0.339 333 1987-11-29 0.334 +#> 9 08NM116 1988 0.150 32 1988-02-01 0.186 +#> 10 08NM116 1989 0.524 271 1989-09-28 0.577 +#> # ℹ 32 more rows +#> # ℹ 2 more variables: Min_7_Day_DoY <dbl>, Min_7_Day_Date <date> diff --git a/docs/reference/calc_annual_normal_days.html b/docs/reference/calc_annual_normal_days.html index 0294c933..167d9646 100644 --- a/docs/reference/calc_annual_normal_days.html +++ b/docs/reference/calc_annual_normal_days.html @@ -23,7 +23,7 @@ fasstr - 0.5.1 + 0.5.2 @@ -243,20 +243,20 @@

    Examples

    } #> Warning: One or more calculations included missing values and NA's were produced. If desired, filter data for complete years or months, or use the 'ignore_missing' or 'allowed_missing' arguments (if applicable) to ignore or allow some missing values. -#> # A tibble: 41 × 5 +#> # A tibble: 42 × 5 #> STATION_NUMBER Year Normal_Days Below_Normal_Days Above_Normal_Days #> <chr> <dbl> <int> <int> <int> -#> 1 08NM116 1980 328 24 14 -#> 2 08NM116 1981 289 3 73 -#> 3 08NM116 1982 253 14 98 -#> 4 08NM116 1983 263 0 102 -#> 5 08NM116 1984 306 9 51 -#> 6 08NM116 1985 300 51 14 -#> 7 08NM116 1986 339 8 18 -#> 8 08NM116 1987 188 169 8 -#> 9 08NM116 1988 222 128 16 -#> 10 08NM116 1989 332 21 12 -#> # … with 31 more rows +#> 1 08NM116 1980 318 28 20 +#> 2 08NM116 1981 266 4 95 +#> 3 08NM116 1982 234 18 113 +#> 4 08NM116 1983 240 0 125 +#> 5 08NM116 1984 281 12 73 +#> 6 08NM116 1985 274 67 24 +#> 7 08NM116 1986 331 12 22 +#> 8 08NM116 1987 173 179 13 +#> 9 08NM116 1988 208 138 20 +#> 10 08NM116 1989 317 23 25 +#> # ℹ 32 more rows diff --git a/docs/reference/calc_annual_outside_normal.html b/docs/reference/calc_annual_outside_normal.html index 3ecbeb6f..6595b93d 100644 --- a/docs/reference/calc_annual_outside_normal.html +++ b/docs/reference/calc_annual_outside_normal.html @@ -24,7 +24,7 @@ fasstr - 0.5.1 + 0.5.2 @@ -247,7 +247,7 @@

    Examples

    #> Warning: One or more calculations included missing values and NA's were produced. If desired, filter data for complete years or months, or use the 'ignore_missing' or 'allowed_missing' arguments (if applicable) to ignore or allow some missing values. #> Note: this function has been superseded by the 'calc_annual_normal_days()' function. This function is still supported but no longer receives active development, as better solutions now exist. #> Warning: One or more calculations included missing values and NA's were produced. If desired, filter data for complete years or months, or use the 'ignore_missing' or 'allowed_missing' arguments (if applicable) to ignore or allow some missing values. -#> # A tibble: 72 × 5 +#> # A tibble: 73 × 5 #> STATION_NUMBER Year Days_Below_Normal Days_Above_Normal Days_Outside_Normal #> <chr> <dbl> <int> <int> <int> #> 1 08NM116 1949 NA NA NA @@ -260,7 +260,7 @@

    Examples

    #> 8 08NM116 1956 NA NA NA #> 9 08NM116 1957 NA NA NA #> 10 08NM116 1958 NA NA NA -#> # … with 62 more rows +#> # ℹ 63 more rows diff --git a/docs/reference/calc_annual_peaks.html b/docs/reference/calc_annual_peaks.html index b7c0aff1..57173640 100644 --- a/docs/reference/calc_annual_peaks.html +++ b/docs/reference/calc_annual_peaks.html @@ -19,7 +19,7 @@ fasstr - 0.5.1 + 0.5.2 @@ -306,21 +306,21 @@

    Examples

    #> Warning: One or more calculations included missing values and NA's were produced. If desired, filter data for complete years or months, or use the 'ignore_missing' or 'allowed_missing' arguments (if applicable) to ignore or allow some missing values. #> Note: this function has been superseded by the 'calc_annual_extremes()' function. This function is still supported but no longer receives active development, as better solutions now exist. #> Warning: One or more calculations included missing values and NA's were produced. If desired, filter data for complete years or months, or use the 'ignore_missing' or 'allowed_missing' arguments (if applicable) to ignore or allow some missing values. -#> # A tibble: 72 × 8 -#> STATION_NUMBER Year Min_3_Day Min_3_…¹ Min_3_Da…² Max_3…³ Max_3…⁴ Max_3_Da…⁵ -#> <chr> <dbl> <dbl> <dbl> <date> <dbl> <dbl> <date> -#> 1 08NM116 1949 NA NA NA NA NA NA -#> 2 08NM116 1950 NA NA NA NA NA NA -#> 3 08NM116 1951 NA NA NA NA NA NA -#> 4 08NM116 1952 NA NA NA NA NA NA -#> 5 08NM116 1953 NA NA NA NA NA NA -#> 6 08NM116 1954 NA NA NA NA NA NA -#> 7 08NM116 1955 NA NA NA NA NA NA -#> 8 08NM116 1956 NA NA NA NA NA NA -#> 9 08NM116 1957 NA NA NA NA NA NA -#> 10 08NM116 1958 NA NA NA NA NA NA -#> # … with 62 more rows, and abbreviated variable names ¹​Min_3_Day_DoY, -#> # ²​Min_3_Day_Date, ³​Max_3_Day, ⁴​Max_3_Day_DoY, ⁵​Max_3_Day_Date +#> # A tibble: 73 × 8 +#> STATION_NUMBER Year Min_3_Day Min_3_Day_DoY Min_3_Day_Date Max_3_Day +#> <chr> <dbl> <dbl> <dbl> <date> <dbl> +#> 1 08NM116 1949 NA NA NA NA +#> 2 08NM116 1950 NA NA NA NA +#> 3 08NM116 1951 NA NA NA NA +#> 4 08NM116 1952 NA NA NA NA +#> 5 08NM116 1953 NA NA NA NA +#> 6 08NM116 1954 NA NA NA NA +#> 7 08NM116 1955 NA NA NA NA +#> 8 08NM116 1956 NA NA NA NA +#> 9 08NM116 1957 NA NA NA NA +#> 10 08NM116 1958 NA NA NA NA +#> # ℹ 63 more rows +#> # ℹ 2 more variables: Max_3_Day_DoY <dbl>, Max_3_Day_Date <date> diff --git a/docs/reference/calc_annual_stats.html b/docs/reference/calc_annual_stats.html index 96d1237a..47dad14e 100644 --- a/docs/reference/calc_annual_stats.html +++ b/docs/reference/calc_annual_stats.html @@ -18,7 +18,7 @@ fasstr - 0.5.1 + 0.5.2 @@ -283,7 +283,7 @@

    Examples

    #> Warning: One or more calculations included missing values and NA's were produced. If desired, filter data for complete years or months, or use the 'ignore_missing' or 'allowed_missing' arguments (if applicable) to ignore or allow some missing values. #> Warning: One or more calculations included missing values and NA's were produced. If desired, filter data for complete years or months, or use the 'ignore_missing' or 'allowed_missing' arguments (if applicable) to ignore or allow some missing values. #> Warning: One or more calculations included missing values and NA's were produced. If desired, filter data for complete years or months, or use the 'ignore_missing' or 'allowed_missing' arguments (if applicable) to ignore or allow some missing values. -#> # A tibble: 72 × 8 +#> # A tibble: 73 × 8 #> STATION_NUMBER Year Mean Median Maximum Minimum P25 P75 #> <chr> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> #> 1 08NM116 1949 1.52 1.32 4.29 0.838 1.09 1.64 @@ -296,7 +296,7 @@

    Examples

    #> 8 08NM116 1956 2.25 1.29 8.21 0.784 0.998 2.33 #> 9 08NM116 1957 2.36 1.92 6.23 0.916 1.29 2.84 #> 10 08NM116 1958 1.71 1.23 5.51 0.578 0.880 2.04 -#> # … with 62 more rows +#> # ℹ 63 more rows diff --git a/docs/reference/calc_daily_cumulative_stats.html b/docs/reference/calc_daily_cumulative_stats.html index 46c4d148..626db8f9 100644 --- a/docs/reference/calc_daily_cumulative_stats.html +++ b/docs/reference/calc_daily_cumulative_stats.html @@ -19,7 +19,7 @@ fasstr - 0.5.1 + 0.5.2 @@ -264,20 +264,20 @@

    Examples

    #> Warning: One or more years contained partial data and were excluded. Only years with complete data were used for calculations. #> Warning: One or more years contained partial data and were excluded. Only years with complete data were used for calculations. #> # A tibble: 365 × 11 -#> STATIO…¹ Date Dayof…² Mean Median Minimum Maximum P5 P25 P75 P95 -#> <chr> <chr> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> -#> 1 08NM116 Jan-… 1 0.113 0.101 0.0354 0.271 0.0547 0.0733 0.141 0.200 -#> 2 08NM116 Jan-… 2 0.223 0.194 0.0689 0.515 0.107 0.146 0.272 0.406 -#> 3 08NM116 Jan-… 3 0.332 0.289 0.100 0.727 0.159 0.217 0.407 0.601 -#> 4 08NM116 Jan-… 4 0.441 0.385 0.131 0.961 0.209 0.298 0.535 0.769 -#> 5 08NM116 Jan-… 5 0.548 0.482 0.164 1.19 0.259 0.382 0.659 0.959 -#> 6 08NM116 Jan-… 6 0.654 0.572 0.198 1.40 0.310 0.457 0.791 1.16 -#> 7 08NM116 Jan-… 7 0.763 0.666 0.231 1.61 0.360 0.533 0.917 1.41 -#> 8 08NM116 Jan-… 8 0.876 0.765 0.265 1.81 0.411 0.605 1.05 1.73 -#> 9 08NM116 Jan-… 9 0.990 0.867 0.300 2.26 0.459 0.680 1.19 1.96 -#> 10 08NM116 Jan-… 10 1.10 0.962 0.337 2.76 0.509 0.758 1.32 2.18 -#> # … with 355 more rows, and abbreviated variable names ¹​STATION_NUMBER, -#> # ²​DayofYear +#> STATION_NUMBER Date DayofYear Mean Median Minimum Maximum P5 P25 +#> <chr> <chr> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> +#> 1 08NM116 Jan-01 1 0.113 0.104 0.0354 0.271 0.0551 0.0740 +#> 2 08NM116 Jan-02 2 0.223 0.194 0.0689 0.515 0.108 0.147 +#> 3 08NM116 Jan-03 3 0.331 0.289 0.100 0.727 0.160 0.220 +#> 4 08NM116 Jan-04 4 0.440 0.388 0.131 0.961 0.210 0.300 +#> 5 08NM116 Jan-05 5 0.547 0.482 0.164 1.19 0.260 0.384 +#> 6 08NM116 Jan-06 6 0.653 0.573 0.198 1.40 0.310 0.459 +#> 7 08NM116 Jan-07 7 0.761 0.666 0.231 1.61 0.360 0.534 +#> 8 08NM116 Jan-08 8 0.874 0.762 0.265 1.81 0.411 0.607 +#> 9 08NM116 Jan-09 9 0.987 0.865 0.300 2.26 0.460 0.686 +#> 10 08NM116 Jan-10 10 1.10 0.957 0.337 2.76 0.510 0.763 +#> # ℹ 355 more rows +#> # ℹ 2 more variables: P75 <dbl>, P95 <dbl> diff --git a/docs/reference/calc_daily_stats.html b/docs/reference/calc_daily_stats.html index 02f6271c..907dc801 100644 --- a/docs/reference/calc_daily_stats.html +++ b/docs/reference/calc_daily_stats.html @@ -20,7 +20,7 @@ fasstr - 0.5.1 + 0.5.2 @@ -280,20 +280,20 @@

    Examples

    } #> # A tibble: 365 × 11 -#> STATION_…¹ Date Dayof…² Mean Median Minimum Maximum P5 P25 P75 P95 -#> <chr> <chr> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> -#> 1 08NM116 Oct-… 1 1.91 1.52 0.519 6.12 0.646 0.826 2.37 4.66 -#> 2 08NM116 Oct-… 2 1.98 1.46 0.501 7.93 0.704 0.943 2.17 4.38 -#> 3 08NM116 Oct-… 3 1.97 1.51 0.455 8.53 0.641 1.06 2.33 4.50 -#> 4 08NM116 Oct-… 4 1.87 1.5 0.464 7.60 0.626 1.05 2.31 3.90 -#> 5 08NM116 Oct-… 5 2.02 1.30 0.554 10.6 0.623 0.958 2.36 4.23 -#> 6 08NM116 Oct-… 6 1.96 1.34 0.549 9.41 0.591 0.986 2.29 3.95 -#> 7 08NM116 Oct-… 7 1.96 1.48 0.455 6.87 0.604 1.04 2.30 4.60 -#> 8 08NM116 Oct-… 8 1.98 1.57 0.530 5.75 0.583 1.01 2.57 4.67 -#> 9 08NM116 Oct-… 9 1.96 1.43 0.457 5.99 0.551 0.911 2.27 5.15 -#> 10 08NM116 Oct-… 10 1.89 1.53 0.546 5.90 0.593 0.961 2.25 4.66 -#> # … with 355 more rows, and abbreviated variable names ¹​STATION_NUMBER, -#> # ²​DayofYear +#> STATION_NUMBER Date DayofYear Mean Median Minimum Maximum P5 P25 P75 +#> <chr> <chr> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> +#> 1 08NM116 Oct-… 1 1.91 1.52 0.519 6.12 0.646 0.826 2.37 +#> 2 08NM116 Oct-… 2 1.98 1.46 0.501 7.93 0.704 0.943 2.17 +#> 3 08NM116 Oct-… 3 1.97 1.51 0.455 8.53 0.641 1.06 2.33 +#> 4 08NM116 Oct-… 4 1.87 1.5 0.464 7.60 0.626 1.05 2.31 +#> 5 08NM116 Oct-… 5 2.02 1.30 0.554 10.6 0.623 0.958 2.36 +#> 6 08NM116 Oct-… 6 1.96 1.34 0.549 9.41 0.591 0.986 2.29 +#> 7 08NM116 Oct-… 7 1.96 1.48 0.455 6.87 0.604 1.04 2.30 +#> 8 08NM116 Oct-… 8 1.98 1.57 0.530 5.75 0.583 1.01 2.57 +#> 9 08NM116 Oct-… 9 1.96 1.43 0.457 5.99 0.551 0.911 2.27 +#> 10 08NM116 Oct-… 10 1.89 1.53 0.546 5.90 0.593 0.961 2.25 +#> # ℹ 355 more rows +#> # ℹ 1 more variable: P95 <dbl> diff --git a/docs/reference/calc_flow_percentile.html b/docs/reference/calc_flow_percentile.html index 84f029c9..9d9519b8 100644 --- a/docs/reference/calc_flow_percentile.html +++ b/docs/reference/calc_flow_percentile.html @@ -19,7 +19,7 @@ fasstr - 0.5.1 + 0.5.2 @@ -231,7 +231,7 @@

    Examples

    #> # A tibble: 1 × 2 #> STATION_NUMBER Percentile #> <chr> <dbl> -#> 1 08NM116 20.8 +#> 1 08NM116 21.3 diff --git a/docs/reference/calc_longterm_daily_stats.html b/docs/reference/calc_longterm_daily_stats.html index 9381c8e4..92806846 100644 --- a/docs/reference/calc_longterm_daily_stats.html +++ b/docs/reference/calc_longterm_daily_stats.html @@ -19,7 +19,7 @@ fasstr - 0.5.1 + 0.5.2 @@ -303,20 +303,20 @@

    Examples

    #> # A tibble: 14 × 8 #> STATION_NUMBER Month Mean Median Maximum Minimum P10 P90 #> <chr> <fct> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> -#> 1 08NM116 Jan 1.13 0.930 9.5 0.160 0.564 1.75 -#> 2 08NM116 Feb 1.15 0.965 5.81 0.140 0.507 1.95 -#> 3 08NM116 Mar 1.83 1.31 17.5 0.380 0.660 3.61 -#> 4 08NM116 Apr 8.59 6.43 53.5 0.505 1.46 18.5 -#> 5 08NM116 May 25.5 22.8 95.4 2.55 10 45.2 -#> 6 08NM116 Jun 21.9 19.3 86.2 0.450 6.09 39.7 -#> 7 08NM116 Jul 6.28 3.92 76.8 0.332 1.16 14.1 -#> 8 08NM116 Aug 2.03 1.62 13.3 0.427 0.848 3.72 -#> 9 08NM116 Sep 2.14 1.62 14.6 0.364 0.785 4.19 -#> 10 08NM116 Oct 2.08 1.71 15.2 0.267 0.856 3.79 -#> 11 08NM116 Nov 2.04 1.65 11.7 0.260 0.600 3.99 -#> 12 08NM116 Dec 1.28 1.07 7.30 0.244 0.530 2.24 -#> 13 08NM116 Long-term 6.34 1.84 95.4 0.140 0.700 20 -#> 14 08NM116 Summer 3.50 1.95 76.8 0.332 0.873 7.10 +#> 1 08NM116 Jan 1.13 0.924 9.5 0.160 0.568 1.75 +#> 2 08NM116 Feb 1.14 0.955 5.81 0.140 0.509 1.93 +#> 3 08NM116 Mar 1.81 1.27 17.5 0.380 0.665 3.58 +#> 4 08NM116 Apr 8.54 6.41 53.5 0.505 1.47 18.4 +#> 5 08NM116 May 25.3 22.5 95.4 2.55 10.2 44.9 +#> 6 08NM116 Jun 21.6 19.1 86.2 0.450 5.95 39.2 +#> 7 08NM116 Jul 6.16 3.78 76.8 0.332 1.13 13.9 +#> 8 08NM116 Aug 2.01 1.61 13.3 0.427 0.858 3.71 +#> 9 08NM116 Sep 2.12 1.60 14.6 0.364 0.788 4.15 +#> 10 08NM116 Oct 2.07 1.68 15.2 0.267 0.863 3.77 +#> 11 08NM116 Nov 2.05 1.66 11.7 0.260 0.602 3.99 +#> 12 08NM116 Dec 1.29 1.08 7.30 0.244 0.540 2.25 +#> 13 08NM116 Long-term 6.28 1.82 95.4 0.140 0.701 19.7 +#> 14 08NM116 Summer 3.44 1.91 76.8 0.332 0.875 7.02 diff --git a/docs/reference/calc_longterm_mean.html b/docs/reference/calc_longterm_mean.html index 66926020..b8503727 100644 --- a/docs/reference/calc_longterm_mean.html +++ b/docs/reference/calc_longterm_mean.html @@ -18,7 +18,7 @@ fasstr - 0.5.1 + 0.5.2 @@ -229,7 +229,7 @@

    Examples

    #> # A tibble: 1 × 5 #> STATION_NUMBER LTMAD `5%MAD` `10%MAD` `20%MAD` #> <chr> <dbl> <dbl> <dbl> <dbl> -#> 1 08NM116 6.25 0.313 0.625 1.25 +#> 1 08NM116 6.21 0.310 0.621 1.24 diff --git a/docs/reference/calc_longterm_monthly_stats.html b/docs/reference/calc_longterm_monthly_stats.html index ad2d833b..eb683501 100644 --- a/docs/reference/calc_longterm_monthly_stats.html +++ b/docs/reference/calc_longterm_monthly_stats.html @@ -19,7 +19,7 @@ fasstr - 0.5.1 + 0.5.2 @@ -290,20 +290,20 @@

    Examples

    #> # A tibble: 14 × 8 #> STATION_NUMBER Month Mean Median Maximum Minimum P10 P90 #> <chr> <fct> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> -#> 1 08NM116 Jan 1.13 0.968 6.12 0.316 0.624 1.60 -#> 2 08NM116 Feb 1.15 0.964 3.83 0.353 0.523 1.67 -#> 3 08NM116 Mar 1.83 1.41 6.93 0.507 0.821 2.91 -#> 4 08NM116 Apr 8.59 7.98 23.9 1.60 3.80 13.3 -#> 5 08NM116 May 25.5 24.0 48.1 14.0 16.0 35.4 -#> 6 08NM116 Jun 21.9 21.2 48.6 3.15 10.8 36.8 -#> 7 08NM116 Jul 6.28 4.34 25.6 0.921 1.93 13.1 -#> 8 08NM116 Aug 2.03 1.79 5.07 0.872 1.14 3.36 -#> 9 08NM116 Sep 2.14 1.76 6.06 0.700 0.998 3.76 -#> 10 08NM116 Oct 2.08 1.93 5.25 0.533 0.998 3.37 -#> 11 08NM116 Nov 2.04 1.67 5.41 0.498 0.741 3.45 -#> 12 08NM116 Dec 1.28 1.10 3.65 0.450 0.539 2.19 -#> 13 08NM116 Annual 6.34 6.27 11.1 2.88 4.36 8.46 -#> 14 08NM116 Summer 3.50 2.86 11.5 1.06 1.41 6.07 +#> 1 08NM116 Jan 1.13 0.963 6.12 0.316 0.625 1.59 +#> 2 08NM116 Feb 1.14 0.962 3.83 0.353 0.530 1.67 +#> 3 08NM116 Mar 1.81 1.41 6.93 0.507 0.833 2.89 +#> 4 08NM116 Apr 8.54 7.89 23.9 1.60 3.83 13.2 +#> 5 08NM116 May 25.3 23.9 48.1 14.0 16.0 35.2 +#> 6 08NM116 Jun 21.6 20.2 48.6 3.15 10.8 36.4 +#> 7 08NM116 Jul 6.16 4.20 25.6 0.921 1.83 13.1 +#> 8 08NM116 Aug 2.01 1.77 5.07 0.872 1.14 3.35 +#> 9 08NM116 Sep 2.12 1.72 6.06 0.700 1.00 3.76 +#> 10 08NM116 Oct 2.07 1.91 5.25 0.533 1.00 3.36 +#> 11 08NM116 Nov 2.05 1.74 5.41 0.498 0.743 3.43 +#> 12 08NM116 Dec 1.29 1.10 3.65 0.450 0.542 2.17 +#> 13 08NM116 Annual 6.28 6.26 11.1 2.88 4.04 8.43 +#> 14 08NM116 Summer 3.44 2.71 11.5 1.06 1.38 6.05 diff --git a/docs/reference/calc_longterm_percentile.html b/docs/reference/calc_longterm_percentile.html index 3154c084..6d5015a0 100644 --- a/docs/reference/calc_longterm_percentile.html +++ b/docs/reference/calc_longterm_percentile.html @@ -18,7 +18,7 @@ fasstr - 0.5.1 + 0.5.2 diff --git a/docs/reference/calc_monthly_cumulative_stats.html b/docs/reference/calc_monthly_cumulative_stats.html index 918ce2a2..fef00f12 100644 --- a/docs/reference/calc_monthly_cumulative_stats.html +++ b/docs/reference/calc_monthly_cumulative_stats.html @@ -19,7 +19,7 @@ fasstr - 0.5.1 + 0.5.2 @@ -263,21 +263,21 @@

    Examples

    #> Warning: One or more years contained partial data and were excluded. Only years with complete data were used for calculations. #> Warning: One or more years contained partial data and were excluded. Only years with complete data were used for calculations. #> # A tibble: 12 × 10 -#> STATION_NUM…¹ Month Mean Median Maximum Minimum P5 P25 P75 P95 -#> <chr> <fct> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> -#> 1 08NM116 Jan 3.60 2.87 20.5 1.06 1.57 2.43 4.09 6.41 -#> 2 08NM116 Feb 6.90 5.81 30.7 2.16 3.27 4.49 7.39 12.4 -#> 3 08NM116 Mar 12.5 10.6 47.8 3.86 6.11 7.94 14.6 23.3 -#> 4 08NM116 Apr 37.1 33.6 92.6 9.86 13.2 24.4 44.4 74.4 -#> 5 08NM116 May 122. 114. 208. 52.3 66.1 94.1 142. 196. -#> 6 08NM116 Jun 195. 198. 319. 95.3 104. 148. 233. 289. -#> 7 08NM116 Jul 215. 222. 377. 102. 111. 158. 255. 332. -#> 8 08NM116 Aug 222. 226. 390. 104. 115. 162. 271. 339. -#> 9 08NM116 Sep 229. 234. 405. 106. 118. 165. 282. 345. -#> 10 08NM116 Oct 236. 241. 422. 108. 122. 170. 287. 351. -#> 11 08NM116 Nov 242. 244. 433. 110. 127. 176. 292. 358. -#> 12 08NM116 Dec 247. 247. 439. 112. 130. 180. 297. 361. -#> # … with abbreviated variable name ¹​STATION_NUMBER +#> STATION_NUMBER Month Mean Median Maximum Minimum P5 P25 P75 +#> <chr> <fct> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> +#> 1 08NM116 Jan 3.58 2.75 20.5 1.06 1.58 2.44 4.09 +#> 2 08NM116 Feb 6.86 5.66 30.7 2.16 3.28 4.50 7.38 +#> 3 08NM116 Mar 12.5 10.5 47.8 3.86 6.11 7.99 14.6 +#> 4 08NM116 Apr 37.0 33.4 92.6 9.86 13.2 25.1 44.1 +#> 5 08NM116 May 121. 112. 208. 52.3 66.2 93.8 142. +#> 6 08NM116 Jun 194. 198. 319. 95.3 104. 147. 232. +#> 7 08NM116 Jul 214. 222. 377. 102. 111. 156. 254. +#> 8 08NM116 Aug 220. 226. 390. 104. 115. 161. 269. +#> 9 08NM116 Sep 228. 232. 405. 106. 119. 165. 280. +#> 10 08NM116 Oct 235. 240. 422. 108. 122. 170. 287. +#> 11 08NM116 Nov 241. 243. 433. 110. 127. 175. 292. +#> 12 08NM116 Dec 245. 246. 439. 112. 131. 180. 296. +#> # ℹ 1 more variable: P95 <dbl> diff --git a/docs/reference/calc_monthly_stats.html b/docs/reference/calc_monthly_stats.html index 2737cb0b..7524e3e0 100644 --- a/docs/reference/calc_monthly_stats.html +++ b/docs/reference/calc_monthly_stats.html @@ -18,7 +18,7 @@ fasstr - 0.5.1 + 0.5.2 @@ -306,7 +306,7 @@

    Examples

    #> 8 08NM116 1981 Aug 3.38 2.99 6.26 1.89 2.42 3.90 #> 9 08NM116 1981 Sep 2.76 2.75 6.19 0.398 1.58 3.53 #> 10 08NM116 1981 Oct 3.12 3 5.43 1.79 2.27 3.81 -#> # … with 350 more rows +#> # ℹ 350 more rows diff --git a/docs/reference/compute_annual_frequencies.html b/docs/reference/compute_annual_frequencies.html index 30351754..252543b2 100644 --- a/docs/reference/compute_annual_frequencies.html +++ b/docs/reference/compute_annual_frequencies.html @@ -21,7 +21,7 @@ fasstr - 0.5.1 + 0.5.2 diff --git a/docs/reference/compute_annual_trends.html b/docs/reference/compute_annual_trends.html index e809d6e5..62dddbc2 100644 --- a/docs/reference/compute_annual_trends.html +++ b/docs/reference/compute_annual_trends.html @@ -29,7 +29,7 @@ fasstr - 0.5.1 + 0.5.2 diff --git a/docs/reference/compute_frequency_analysis.html b/docs/reference/compute_frequency_analysis.html index ba6ed621..e919144b 100644 --- a/docs/reference/compute_frequency_analysis.html +++ b/docs/reference/compute_frequency_analysis.html @@ -21,7 +21,7 @@ fasstr - 0.5.1 + 0.5.2 diff --git a/docs/reference/compute_frequency_quantile.html b/docs/reference/compute_frequency_quantile.html index 369baacb..742bc832 100644 --- a/docs/reference/compute_frequency_quantile.html +++ b/docs/reference/compute_frequency_quantile.html @@ -21,7 +21,7 @@ fasstr - 0.5.1 + 0.5.2 diff --git a/docs/reference/compute_full_analysis.html b/docs/reference/compute_full_analysis.html index cfc2363e..c201929c 100644 --- a/docs/reference/compute_full_analysis.html +++ b/docs/reference/compute_full_analysis.html @@ -22,7 +22,7 @@ fasstr - 0.5.1 + 0.5.2 diff --git a/docs/reference/compute_hydat_peak_frequencies.html b/docs/reference/compute_hydat_peak_frequencies.html index c0e8ae1b..5a625101 100644 --- a/docs/reference/compute_hydat_peak_frequencies.html +++ b/docs/reference/compute_hydat_peak_frequencies.html @@ -20,7 +20,7 @@ fasstr - 0.5.1 + 0.5.2 diff --git a/docs/reference/fasstr-package.html b/docs/reference/fasstr-package.html index 85b3c17c..75e4f1e0 100644 --- a/docs/reference/fasstr-package.html +++ b/docs/reference/fasstr-package.html @@ -17,7 +17,7 @@ fasstr - 0.5.1 + 0.5.2 diff --git a/docs/reference/figures/plot1-1.png b/docs/reference/figures/plot1-1.png index ef7475d8..9c552e17 100644 Binary files a/docs/reference/figures/plot1-1.png and b/docs/reference/figures/plot1-1.png differ diff --git a/docs/reference/figures/plot2-1.png b/docs/reference/figures/plot2-1.png index 9dbf4f9b..f4923d64 100644 Binary files a/docs/reference/figures/plot2-1.png and b/docs/reference/figures/plot2-1.png differ diff --git a/docs/reference/figures/plot3-1.png b/docs/reference/figures/plot3-1.png index dd2fd442..3e453cca 100644 Binary files a/docs/reference/figures/plot3-1.png and b/docs/reference/figures/plot3-1.png differ diff --git a/docs/reference/fill_missing_dates.html b/docs/reference/fill_missing_dates.html index c680e338..38fae8d0 100644 --- a/docs/reference/fill_missing_dates.html +++ b/docs/reference/fill_missing_dates.html @@ -19,7 +19,7 @@ fasstr - 0.5.1 + 0.5.2 @@ -179,7 +179,7 @@

    Examples

    water_year_start = 8) } -#> # A tibble: 26,663 × 5 +#> # A tibble: 27,028 × 5 #> STATION_NUMBER Date Parameter Value Symbol #> <chr> <date> <chr> <dbl> <chr> #> 1 08NM116 1948-08-01 Flow NA NA @@ -192,7 +192,7 @@

    Examples

    #> 8 08NM116 1948-08-08 Flow NA NA #> 9 08NM116 1948-08-09 Flow NA NA #> 10 08NM116 1948-08-10 Flow NA NA -#> # … with 26,653 more rows +#> # ℹ 27,018 more rows diff --git a/docs/reference/index.html b/docs/reference/index.html index 43c6283e..6802d2d6 100644 --- a/docs/reference/index.html +++ b/docs/reference/index.html @@ -17,7 +17,7 @@ fasstr - 0.5.1 + 0.5.2 diff --git a/docs/reference/plot_annual_cumulative_stats-1.png b/docs/reference/plot_annual_cumulative_stats-1.png index 4b974397..798dfb78 100644 Binary files a/docs/reference/plot_annual_cumulative_stats-1.png and b/docs/reference/plot_annual_cumulative_stats-1.png differ diff --git a/docs/reference/plot_annual_cumulative_stats.html b/docs/reference/plot_annual_cumulative_stats.html index ba2edef0..a7d8be38 100644 --- a/docs/reference/plot_annual_cumulative_stats.html +++ b/docs/reference/plot_annual_cumulative_stats.html @@ -20,7 +20,7 @@ fasstr - 0.5.1 + 0.5.2 diff --git a/docs/reference/plot_annual_extremes-1.png b/docs/reference/plot_annual_extremes-1.png index 9bde9cfd..58329b06 100644 Binary files a/docs/reference/plot_annual_extremes-1.png and b/docs/reference/plot_annual_extremes-1.png differ diff --git a/docs/reference/plot_annual_extremes-2.png b/docs/reference/plot_annual_extremes-2.png index 73a6a9c4..50cf21df 100644 Binary files a/docs/reference/plot_annual_extremes-2.png and b/docs/reference/plot_annual_extremes-2.png differ diff --git a/docs/reference/plot_annual_extremes.html b/docs/reference/plot_annual_extremes.html index b2c5b395..09a9348b 100644 --- a/docs/reference/plot_annual_extremes.html +++ b/docs/reference/plot_annual_extremes.html @@ -18,7 +18,7 @@ fasstr - 0.5.1 + 0.5.2 diff --git a/docs/reference/plot_annual_extremes_year-1.png b/docs/reference/plot_annual_extremes_year-1.png index 545513b8..de5525e9 100644 Binary files a/docs/reference/plot_annual_extremes_year-1.png and b/docs/reference/plot_annual_extremes_year-1.png differ diff --git a/docs/reference/plot_annual_extremes_year.html b/docs/reference/plot_annual_extremes_year.html index 95725ae5..2618a3ef 100644 --- a/docs/reference/plot_annual_extremes_year.html +++ b/docs/reference/plot_annual_extremes_year.html @@ -21,7 +21,7 @@ fasstr - 0.5.1 + 0.5.2 @@ -308,8 +308,8 @@

    Examples

    } #> Warning: One or more calculations included missing values and NA's were produced. If desired, filter data for complete years or months, or use the 'ignore_missing' or 'allowed_missing' arguments (if applicable) to ignore or allow some missing values. #> $Annual_Extremes_Year -#> Warning: Transformation introduced infinite values in continuous y-axis -#> Warning: Transformation introduced infinite values in continuous y-axis +#> Warning: log-10 transformation introduced infinite values. +#> Warning: log-10 transformation introduced infinite values. #> diff --git a/docs/reference/plot_annual_flow_timing-1.png b/docs/reference/plot_annual_flow_timing-1.png index 35624f75..9f252376 100644 Binary files a/docs/reference/plot_annual_flow_timing-1.png and b/docs/reference/plot_annual_flow_timing-1.png differ diff --git a/docs/reference/plot_annual_flow_timing.html b/docs/reference/plot_annual_flow_timing.html index 85c95802..227aa91a 100644 --- a/docs/reference/plot_annual_flow_timing.html +++ b/docs/reference/plot_annual_flow_timing.html @@ -19,7 +19,7 @@ fasstr - 0.5.1 + 0.5.2 diff --git a/docs/reference/plot_annual_flow_timing_year-1.png b/docs/reference/plot_annual_flow_timing_year-1.png index e3f2f681..fefbaeaa 100644 Binary files a/docs/reference/plot_annual_flow_timing_year-1.png and b/docs/reference/plot_annual_flow_timing_year-1.png differ diff --git a/docs/reference/plot_annual_flow_timing_year.html b/docs/reference/plot_annual_flow_timing_year.html index e2deff4e..fb648467 100644 --- a/docs/reference/plot_annual_flow_timing_year.html +++ b/docs/reference/plot_annual_flow_timing_year.html @@ -20,7 +20,7 @@ fasstr - 0.5.1 + 0.5.2 diff --git a/docs/reference/plot_annual_highflows-1.png b/docs/reference/plot_annual_highflows-1.png index 0fe108a8..18a841e2 100644 Binary files a/docs/reference/plot_annual_highflows-1.png and b/docs/reference/plot_annual_highflows-1.png differ diff --git a/docs/reference/plot_annual_highflows-2.png b/docs/reference/plot_annual_highflows-2.png index 120e8d8e..cf253b20 100644 Binary files a/docs/reference/plot_annual_highflows-2.png and b/docs/reference/plot_annual_highflows-2.png differ diff --git a/docs/reference/plot_annual_highflows.html b/docs/reference/plot_annual_highflows.html index cf4bb2f8..383f4c6d 100644 --- a/docs/reference/plot_annual_highflows.html +++ b/docs/reference/plot_annual_highflows.html @@ -19,7 +19,7 @@ fasstr - 0.5.1 + 0.5.2 diff --git a/docs/reference/plot_annual_lowflows-1.png b/docs/reference/plot_annual_lowflows-1.png index b3e4f3d0..bdb972e1 100644 Binary files a/docs/reference/plot_annual_lowflows-1.png and b/docs/reference/plot_annual_lowflows-1.png differ diff --git a/docs/reference/plot_annual_lowflows-2.png b/docs/reference/plot_annual_lowflows-2.png index 0656445c..5c1884c4 100644 Binary files a/docs/reference/plot_annual_lowflows-2.png and b/docs/reference/plot_annual_lowflows-2.png differ diff --git a/docs/reference/plot_annual_lowflows.html b/docs/reference/plot_annual_lowflows.html index 0127ab4a..6074a710 100644 --- a/docs/reference/plot_annual_lowflows.html +++ b/docs/reference/plot_annual_lowflows.html @@ -19,7 +19,7 @@ fasstr - 0.5.1 + 0.5.2 diff --git a/docs/reference/plot_annual_means-1.png b/docs/reference/plot_annual_means-1.png index 15f30f40..3fe3c38e 100644 Binary files a/docs/reference/plot_annual_means-1.png and b/docs/reference/plot_annual_means-1.png differ diff --git a/docs/reference/plot_annual_means.html b/docs/reference/plot_annual_means.html index cd8e8d5f..8ca23798 100644 --- a/docs/reference/plot_annual_means.html +++ b/docs/reference/plot_annual_means.html @@ -18,7 +18,7 @@ fasstr - 0.5.1 + 0.5.2 diff --git a/docs/reference/plot_annual_normal_days-1.png b/docs/reference/plot_annual_normal_days-1.png index 7bef8dcc..edcb6b90 100644 Binary files a/docs/reference/plot_annual_normal_days-1.png and b/docs/reference/plot_annual_normal_days-1.png differ diff --git a/docs/reference/plot_annual_normal_days.html b/docs/reference/plot_annual_normal_days.html index 4c141386..0b4372ad 100644 --- a/docs/reference/plot_annual_normal_days.html +++ b/docs/reference/plot_annual_normal_days.html @@ -21,7 +21,7 @@ fasstr - 0.5.1 + 0.5.2 diff --git a/docs/reference/plot_annual_normal_days_year-1.png b/docs/reference/plot_annual_normal_days_year-1.png index 63495161..4cbfb408 100644 Binary files a/docs/reference/plot_annual_normal_days_year-1.png and b/docs/reference/plot_annual_normal_days_year-1.png differ diff --git a/docs/reference/plot_annual_normal_days_year.html b/docs/reference/plot_annual_normal_days_year.html index 65918b6d..5a5acecf 100644 --- a/docs/reference/plot_annual_normal_days_year.html +++ b/docs/reference/plot_annual_normal_days_year.html @@ -22,7 +22,7 @@ fasstr - 0.5.1 + 0.5.2 diff --git a/docs/reference/plot_annual_outside_normal-1.png b/docs/reference/plot_annual_outside_normal-1.png index 52177e6e..4c060b43 100644 Binary files a/docs/reference/plot_annual_outside_normal-1.png and b/docs/reference/plot_annual_outside_normal-1.png differ diff --git a/docs/reference/plot_annual_outside_normal.html b/docs/reference/plot_annual_outside_normal.html index c8e32819..bff7372c 100644 --- a/docs/reference/plot_annual_outside_normal.html +++ b/docs/reference/plot_annual_outside_normal.html @@ -22,7 +22,7 @@ fasstr - 0.5.1 + 0.5.2 diff --git a/docs/reference/plot_annual_stats-1.png b/docs/reference/plot_annual_stats-1.png index 27fc738b..472969ee 100644 Binary files a/docs/reference/plot_annual_stats-1.png and b/docs/reference/plot_annual_stats-1.png differ diff --git a/docs/reference/plot_annual_stats.html b/docs/reference/plot_annual_stats.html index 78b1c86f..1ade6074 100644 --- a/docs/reference/plot_annual_stats.html +++ b/docs/reference/plot_annual_stats.html @@ -19,7 +19,7 @@ fasstr - 0.5.1 + 0.5.2 diff --git a/docs/reference/plot_annual_stats2-1.png b/docs/reference/plot_annual_stats2-1.png index 4e5b37ef..8477ffb2 100644 Binary files a/docs/reference/plot_annual_stats2-1.png and b/docs/reference/plot_annual_stats2-1.png differ diff --git a/docs/reference/plot_annual_stats2.html b/docs/reference/plot_annual_stats2.html index cbc9a0fe..0cbd106b 100644 --- a/docs/reference/plot_annual_stats2.html +++ b/docs/reference/plot_annual_stats2.html @@ -19,7 +19,7 @@ fasstr - 0.5.1 + 0.5.2 diff --git a/docs/reference/plot_annual_symbols-1.png b/docs/reference/plot_annual_symbols-1.png index 44b13eea..c52f5848 100644 Binary files a/docs/reference/plot_annual_symbols-1.png and b/docs/reference/plot_annual_symbols-1.png differ diff --git a/docs/reference/plot_annual_symbols.html b/docs/reference/plot_annual_symbols.html index c79c1902..be16c0ca 100644 --- a/docs/reference/plot_annual_symbols.html +++ b/docs/reference/plot_annual_symbols.html @@ -20,7 +20,7 @@ fasstr - 0.5.1 + 0.5.2 diff --git a/docs/reference/plot_daily_cumulative_stats-1.png b/docs/reference/plot_daily_cumulative_stats-1.png index 1f6e7616..b5809225 100644 Binary files a/docs/reference/plot_daily_cumulative_stats-1.png and b/docs/reference/plot_daily_cumulative_stats-1.png differ diff --git a/docs/reference/plot_daily_cumulative_stats.html b/docs/reference/plot_daily_cumulative_stats.html index 7c11e985..c42c33e8 100644 --- a/docs/reference/plot_daily_cumulative_stats.html +++ b/docs/reference/plot_daily_cumulative_stats.html @@ -21,7 +21,7 @@ fasstr - 0.5.1 + 0.5.2 diff --git a/docs/reference/plot_daily_stats-1.png b/docs/reference/plot_daily_stats-1.png index 43f24a30..f9c3d631 100644 Binary files a/docs/reference/plot_daily_stats-1.png and b/docs/reference/plot_daily_stats-1.png differ diff --git a/docs/reference/plot_daily_stats.html b/docs/reference/plot_daily_stats.html index 9e9069e3..6804fde6 100644 --- a/docs/reference/plot_daily_stats.html +++ b/docs/reference/plot_daily_stats.html @@ -21,7 +21,7 @@ fasstr - 0.5.1 + 0.5.2 diff --git a/docs/reference/plot_data_screening-1.png b/docs/reference/plot_data_screening-1.png index d86212c2..89eb2f28 100644 Binary files a/docs/reference/plot_data_screening-1.png and b/docs/reference/plot_data_screening-1.png differ diff --git a/docs/reference/plot_data_screening.html b/docs/reference/plot_data_screening.html index 83bac830..62bd7038 100644 --- a/docs/reference/plot_data_screening.html +++ b/docs/reference/plot_data_screening.html @@ -19,7 +19,7 @@ fasstr - 0.5.1 + 0.5.2 diff --git a/docs/reference/plot_flow_data-1.png b/docs/reference/plot_flow_data-1.png index 9ec5bf98..7c5c4c15 100644 Binary files a/docs/reference/plot_flow_data-1.png and b/docs/reference/plot_flow_data-1.png differ diff --git a/docs/reference/plot_flow_data.html b/docs/reference/plot_flow_data.html index 74bb728e..a6d7b2ee 100644 --- a/docs/reference/plot_flow_data.html +++ b/docs/reference/plot_flow_data.html @@ -19,7 +19,7 @@ fasstr - 0.5.1 + 0.5.2 @@ -260,10 +260,10 @@

    Examples

    end_date = "1990-06-01") } -#> Note: Did not plot 3394 missing or excluded values between 1949-01-01 and 2020-12-31. -#> Note: Did not plot 3394 missing or excluded values between 1949-01-01 and 2020-12-31. +#> Note: Did not plot 3394 missing or excluded values between 1949-01-01 and 2021-12-31. +#> Note: Did not plot 3394 missing or excluded values between 1949-01-01 and 2021-12-31. #> Note: Did not plot 1460 missing or excluded values between 1981-01-01 and 2010-12-31. -#> Note: Did not plot 1057 missing or excluded values between 1983-01-01 and 2019-12-31. +#> Note: Did not plot 405 missing or excluded values between 1983-01-01 and 2022-12-31. #> $Daily_Flows #> diff --git a/docs/reference/plot_flow_data_symbols-1.png b/docs/reference/plot_flow_data_symbols-1.png index 9d690282..be9c595d 100644 Binary files a/docs/reference/plot_flow_data_symbols-1.png and b/docs/reference/plot_flow_data_symbols-1.png differ diff --git a/docs/reference/plot_flow_data_symbols.html b/docs/reference/plot_flow_data_symbols.html index a3692652..64b0d614 100644 --- a/docs/reference/plot_flow_data_symbols.html +++ b/docs/reference/plot_flow_data_symbols.html @@ -20,7 +20,7 @@ fasstr - 0.5.1 + 0.5.2 @@ -228,8 +228,8 @@

    Examples

    plot_flow_data_symbols(station_number = "08NM116") } -#> Note: Did not plot 3394 missing or excluded values between 1949-01-01 and 2020-12-31. -#> Note: Did not plot 3394 missing or excluded values between 1949-01-01 and 2020-12-31. +#> Note: Did not plot 3394 missing or excluded values between 1949-01-01 and 2021-12-31. +#> Note: Did not plot 3394 missing or excluded values between 1949-01-01 and 2021-12-31. #> $Flow_Data_Symbols #> diff --git a/docs/reference/plot_flow_duration.html b/docs/reference/plot_flow_duration.html index 8f73dbd8..acc53e0d 100644 --- a/docs/reference/plot_flow_duration.html +++ b/docs/reference/plot_flow_duration.html @@ -19,7 +19,7 @@ fasstr - 0.5.1 + 0.5.2 diff --git a/docs/reference/plot_longterm_daily_stats-1.png b/docs/reference/plot_longterm_daily_stats-1.png index dec32351..0a3fb86d 100644 Binary files a/docs/reference/plot_longterm_daily_stats-1.png and b/docs/reference/plot_longterm_daily_stats-1.png differ diff --git a/docs/reference/plot_longterm_daily_stats.html b/docs/reference/plot_longterm_daily_stats.html index 00321b56..93ba511e 100644 --- a/docs/reference/plot_longterm_daily_stats.html +++ b/docs/reference/plot_longterm_daily_stats.html @@ -21,7 +21,7 @@ fasstr - 0.5.1 + 0.5.2 diff --git a/docs/reference/plot_longterm_monthly_stats-1.png b/docs/reference/plot_longterm_monthly_stats-1.png index 881aa8a6..1f275244 100644 Binary files a/docs/reference/plot_longterm_monthly_stats-1.png and b/docs/reference/plot_longterm_monthly_stats-1.png differ diff --git a/docs/reference/plot_longterm_monthly_stats.html b/docs/reference/plot_longterm_monthly_stats.html index 8ce1b71b..84e1f903 100644 --- a/docs/reference/plot_longterm_monthly_stats.html +++ b/docs/reference/plot_longterm_monthly_stats.html @@ -21,7 +21,7 @@ fasstr - 0.5.1 + 0.5.2 diff --git a/docs/reference/plot_missing_dates-1.png b/docs/reference/plot_missing_dates-1.png index 9025f040..c6ad9d0e 100644 Binary files a/docs/reference/plot_missing_dates-1.png and b/docs/reference/plot_missing_dates-1.png differ diff --git a/docs/reference/plot_missing_dates.html b/docs/reference/plot_missing_dates.html index a97de1d4..fa15f810 100644 --- a/docs/reference/plot_missing_dates.html +++ b/docs/reference/plot_missing_dates.html @@ -18,7 +18,7 @@ fasstr - 0.5.1 + 0.5.2 diff --git a/docs/reference/plot_monthly_cumulative_stats-1.png b/docs/reference/plot_monthly_cumulative_stats-1.png index 189fd42d..d86cb699 100644 Binary files a/docs/reference/plot_monthly_cumulative_stats-1.png and b/docs/reference/plot_monthly_cumulative_stats-1.png differ diff --git a/docs/reference/plot_monthly_cumulative_stats.html b/docs/reference/plot_monthly_cumulative_stats.html index b5ae8bc8..d0266305 100644 --- a/docs/reference/plot_monthly_cumulative_stats.html +++ b/docs/reference/plot_monthly_cumulative_stats.html @@ -21,7 +21,7 @@ fasstr - 0.5.1 + 0.5.2 diff --git a/docs/reference/plot_monthly_means-1.png b/docs/reference/plot_monthly_means-1.png index 8a850a10..9b93460d 100644 Binary files a/docs/reference/plot_monthly_means-1.png and b/docs/reference/plot_monthly_means-1.png differ diff --git a/docs/reference/plot_monthly_means.html b/docs/reference/plot_monthly_means.html index 6a3552ec..b965cbcd 100644 --- a/docs/reference/plot_monthly_means.html +++ b/docs/reference/plot_monthly_means.html @@ -19,7 +19,7 @@ fasstr - 0.5.1 + 0.5.2 @@ -255,7 +255,6 @@

    Examples

    } #> $Monthly_Means -#> Warning: Removed 8 rows containing missing values (`position_stack()`). #> diff --git a/docs/reference/plot_monthly_stats.html b/docs/reference/plot_monthly_stats.html index 5c6ee688..6886cde0 100644 --- a/docs/reference/plot_monthly_stats.html +++ b/docs/reference/plot_monthly_stats.html @@ -19,7 +19,7 @@ fasstr - 0.5.1 + 0.5.2 diff --git a/docs/reference/plot_monthly_stats2.html b/docs/reference/plot_monthly_stats2.html index 1b9ea79d..f851f0c6 100644 --- a/docs/reference/plot_monthly_stats2.html +++ b/docs/reference/plot_monthly_stats2.html @@ -19,7 +19,7 @@ fasstr - 0.5.1 + 0.5.2 diff --git a/docs/reference/reexports.html b/docs/reference/reexports.html index b52b202c..6edce335 100644 --- a/docs/reference/reexports.html +++ b/docs/reference/reexports.html @@ -24,7 +24,7 @@ fasstr - 0.5.1 + 0.5.2 diff --git a/docs/reference/screen_flow_data.html b/docs/reference/screen_flow_data.html index 29329a39..498ca249 100644 --- a/docs/reference/screen_flow_data.html +++ b/docs/reference/screen_flow_data.html @@ -19,7 +19,7 @@ fasstr - 0.5.1 + 0.5.2 @@ -297,23 +297,23 @@

    Examples

    months = 7:9) } -#> # A tibble: 72 × 16 -#> STATION_…¹ Year n_days n_Q n_mis…² E_Sym…³ No_Sy…⁴ A_Sym…⁵ Minimum Maximum -#> <chr> <dbl> <int> <int> <int> <int> <int> <int> <dbl> <dbl> -#> 1 08NM116 1949 92 92 0 5 87 0 0.838 4.29 -#> 2 08NM116 1950 92 92 0 0 92 0 0.714 16.6 -#> 3 08NM116 1951 92 92 0 0 92 0 0.629 8.80 -#> 4 08NM116 1952 92 92 0 0 92 0 1.11 12.9 -#> 5 08NM116 1953 92 92 0 0 92 0 0.821 24.1 -#> 6 08NM116 1954 92 92 0 0 92 0 1.98 30.5 -#> 7 08NM116 1955 92 92 0 0 92 0 0.396 19.9 -#> 8 08NM116 1956 92 92 0 0 92 0 0.784 8.21 -#> 9 08NM116 1957 92 92 0 0 92 0 0.916 6.23 -#> 10 08NM116 1958 92 92 0 0 92 0 0.578 5.51 -#> # … with 62 more rows, 6 more variables: Mean <dbl>, Median <dbl>, +#> # A tibble: 73 × 16 +#> STATION_NUMBER Year n_days n_Q n_missing_Q E_Symbol No_Symbol A_Symbol +#> <chr> <dbl> <int> <int> <int> <int> <int> <int> +#> 1 08NM116 1949 92 92 0 5 87 0 +#> 2 08NM116 1950 92 92 0 0 92 0 +#> 3 08NM116 1951 92 92 0 0 92 0 +#> 4 08NM116 1952 92 92 0 0 92 0 +#> 5 08NM116 1953 92 92 0 0 92 0 +#> 6 08NM116 1954 92 92 0 0 92 0 +#> 7 08NM116 1955 92 92 0 0 92 0 +#> 8 08NM116 1956 92 92 0 0 92 0 +#> 9 08NM116 1957 92 92 0 0 92 0 +#> 10 08NM116 1958 92 92 0 0 92 0 +#> # ℹ 63 more rows +#> # ℹ 8 more variables: Minimum <dbl>, Maximum <dbl>, Mean <dbl>, Median <dbl>, #> # StandardDeviation <dbl>, Jul_missing_Q <int>, Aug_missing_Q <int>, -#> # Sep_missing_Q <int>, and abbreviated variable names ¹​STATION_NUMBER, -#> # ²​n_missing_Q, ³​E_Symbol, ⁴​No_Symbol, ⁵​A_Symbol +#> # Sep_missing_Q <int> diff --git a/docs/reference/write_flow_data.html b/docs/reference/write_flow_data.html index 8bcc4168..7c84f03e 100644 --- a/docs/reference/write_flow_data.html +++ b/docs/reference/write_flow_data.html @@ -19,7 +19,7 @@ fasstr - 0.5.1 + 0.5.2 diff --git a/docs/reference/write_full_analysis.html b/docs/reference/write_full_analysis.html index ef21a0a1..54fc3fc5 100644 --- a/docs/reference/write_full_analysis.html +++ b/docs/reference/write_full_analysis.html @@ -22,7 +22,7 @@ fasstr - 0.5.1 + 0.5.2 diff --git a/docs/reference/write_objects_list.html b/docs/reference/write_objects_list.html index 798b4092..4e48b0c8 100644 --- a/docs/reference/write_objects_list.html +++ b/docs/reference/write_objects_list.html @@ -18,7 +18,7 @@ fasstr - 0.5.1 + 0.5.2 diff --git a/docs/reference/write_plots.html b/docs/reference/write_plots.html index 270e979c..866f3687 100644 --- a/docs/reference/write_plots.html +++ b/docs/reference/write_plots.html @@ -20,7 +20,7 @@ fasstr - 0.5.1 + 0.5.2 @@ -104,7 +104,7 @@

    Write plots from a list into a directory or PDF document

    Write a list of plots (ggplots; as used by fasstr) into a directory or PDF document. - When writing into a named directory each plot will be named by the plot name listed in the list; uses ggplot2::ggsave + When writing into a named directory each plot will be named by the plot name listed in the list; uses ggplot2::ggsave function. When writing into a PDF document (combined_pdf == TRUE) the plot names will not appear; uses grDevices::pdf function.

    diff --git a/docs/reference/write_results.html b/docs/reference/write_results.html index b0687c0f..d72acbf1 100644 --- a/docs/reference/write_results.html +++ b/docs/reference/write_results.html @@ -18,7 +18,7 @@ fasstr - 0.5.1 + 0.5.2 diff --git a/docs/release_process.html b/docs/release_process.html index e3419457..d5d2ffab 100644 --- a/docs/release_process.html +++ b/docs/release_process.html @@ -17,7 +17,7 @@ fasstr - 0.5.1 + 0.5.2 @@ -104,7 +104,7 @@

    Check if version is appropriate

    Continuous Integration

    -

    GitHub Actions using usethis::use_github_action_check_standard()

    +

    GitHub Actions using usethis::use_github_action_check_standard()

    Build and check within R/devtools @@ -119,9 +119,7 @@

    Build and check on rhub check_with_rdevel() check_for_cran() -check_on_windows() -check(platform = 'macos-highsierra-release') -check(platform = 'macos-highsierra-release-cran') +check_on_windows()

    Run this in the console

    diff --git a/man/figures/plot1-1.png b/man/figures/plot1-1.png index ef7475d8..9c552e17 100644 Binary files a/man/figures/plot1-1.png and b/man/figures/plot1-1.png differ diff --git a/man/figures/plot2-1.png b/man/figures/plot2-1.png index 9dbf4f9b..f4923d64 100644 Binary files a/man/figures/plot2-1.png and b/man/figures/plot2-1.png differ diff --git a/man/figures/plot3-1.png b/man/figures/plot3-1.png index dd2fd442..3e453cca 100644 Binary files a/man/figures/plot3-1.png and b/man/figures/plot3-1.png differ