Convenience function to pull station number from tidyhydat functions
This function mimics dplyr::pull
to avoid having to always type
dplyr::pull(STATION_NUMBER). Instead we can now take advantage of autocomplete.
This can be used with realtime_
and hy_
functions.
pull_station_number(.data)
.data |
A table of data |
A vector of station_numbers
## Not run: hy_stations(prov_terr_state_loc = "PE") %>% pull_station_number() %>% hy_annual_instant_peaks() ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.