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

Fix character NA's in hy_stations() #125

Closed
boshek opened this issue Sep 4, 2019 · 0 comments · Fixed by #132
Closed

Fix character NA's in hy_stations() #125

boshek opened this issue Sep 4, 2019 · 0 comments · Fixed by #132

Comments

@boshek
Copy link
Collaborator

boshek commented Sep 4, 2019

library(tidyhydat)
library(dplyr)
#> 
#> Attaching package: 'dplyr'
#> The following objects are masked from 'package:stats':
#> 
#>     filter, lag
#> The following objects are masked from 'package:base':
#> 
#>     intersect, setdiff, setequal, union

hy_stations() %>% 
  filter(is.na(SED_STATUS))
#>   Queried from version of HYDAT released on 2019-07-17
#>    Observations:                      0
#>    Jurisdictions: 
#>    Station(s) returned:               0
#>    Stations requested but not returned: 
#>     All stations returned.
#> # A tibble: 0 x 15
#> # ... with 15 variables: STATION_NUMBER <chr>, STATION_NAME <chr>,
#> #   PROV_TERR_STATE_LOC <chr>, REGIONAL_OFFICE_ID <dbl>, HYD_STATUS <chr>,
#> #   SED_STATUS <chr>, LATITUDE <dbl>, LONGITUDE <dbl>,
#> #   DRAINAGE_AREA_GROSS <dbl>, DRAINAGE_AREA_EFFECT <dbl>, RHBN <lgl>,
#> #   REAL_TIME <lgl>, CONTRIBUTOR_ID <int>, OPERATOR_ID <int>,
#> #   DATUM_ID <int>

Created on 2019-09-04 by the reprex package (v0.3.0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant