Skip to content

Commit

Permalink
Update R/az_daily.R
Browse files Browse the repository at this point in the history
Co-authored-by: Eric R. Scott <[email protected]>
  • Loading branch information
jeremylweiss and Aariq authored Aug 4, 2023
1 parent cd866fa commit 8c49f1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/az_daily.R
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ az_daily <- function(station_id = NULL, start_date = NULL, end_date = NULL) {
#convert NAs
dplyr::mutate(
dplyr::across(
c(tidyselect::where(is.numeric)),
tidyselect::where(is.numeric),
function(x)
dplyr::if_else(x %in% c(-999, -9999, -99999, -7999, 999, 999.9, 9999), NA_real_, x)
)
Expand Down

0 comments on commit 8c49f1a

Please sign in to comment.