Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only output unique station names with pull_station_number #109

Closed
boshek opened this issue Sep 4, 2018 · 0 comments
Closed

Only output unique station names with pull_station_number #109

boshek opened this issue Sep 4, 2018 · 0 comments
Assignees
Labels

Comments

@boshek
Copy link
Collaborator

boshek commented Sep 4, 2018

Add distinct or unique somewhere here:

tidyhydat/R/utils.R

Lines 220 to 225 in 6cb8a87

pull_station_number <- function(.data){
if(!("STATION_NUMBER" %in% colnames(.data))) stop("No STATION_NUMBER column present", call. = FALSE)
dplyr::pull(.data, !!sym("STATION_NUMBER"))
}

@boshek boshek added this to the tidyhydat 0.4.0 milestone Feb 2, 2019
@boshek boshek added the bug label Feb 2, 2019
@boshek boshek self-assigned this Feb 2, 2019
@boshek boshek closed this as completed in 2904e34 Mar 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant