Skip to content

Commit

Permalink
fix bug so calling function with single station works
Browse files Browse the repository at this point in the history
  • Loading branch information
andypicke committed May 24, 2024
1 parent 2dc73f8 commit 19eb5b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/get_coagmet_meta.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ get_coagmet_meta <- function(station_id = "all", network = "coagmet") {
janitor::clean_names()

if (station_id != "all") {
meta <- meta |> dplyr::filter(`station` == station_id)
meta <- meta[meta$station == station_id, ]
}

return(meta)
Expand Down

0 comments on commit 19eb5b9

Please sign in to comment.