pull_station_number: Convenience function to pull station number from tidyhydat...

Description Usage Arguments Value Examples

View source: R/utils.R

Description

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.

Usage

1

Arguments

.data

A table of data

Value

A vector of station_numbers

Examples

1
2
3
4
5
6
7
## Not run: 

hy_stations(prov_terr_state_loc = "PE") %>%
 pull_station_number() %>%
 hy_annual_instant_peaks()

## End(Not run)

ropensci/tidyhydat documentation built on Sept. 20, 2021, 11:50 a.m.