# NOT RUN {
# Run if HYDAT database has been downloaded (using tidyhydat::download_hydat())
if (file.exists(tidyhydat::hy_downloaded_db())) {
# Add a column of yields based on HYDAT basin area
add_daily_yield(station_number = "08NM116")
# Add a column of yields based on a custom basin area
add_daily_yield(station_number = "08NM116",
basin_area = 800)
}
# }
Run the code above in your browser using DataLab