# NOT RUN {
# Run if HYDAT database has been downloaded (using tidyhydat::download_hydat())
if (file.exists(tidyhydat::hy_downloaded_db())) {
# Calculate annual flow timings with default percent of annual totals
calc_annual_flow_timing(station_number = "08NM116")
# Calculate annual flow timings with custom percent of annual totals
calc_annual_flow_timing(station_number = "08NM116",
percent_total = 50)
}
# }
Run the code above in your browser using DataLab