Skip to content

Commit

Permalink
fix: meteo-imgw-telemetry encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
bczernecki committed Oct 9, 2024
1 parent 82b8232 commit 14a6ae2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# climate 1.2.1

* Corrected duplicated column names for IMGW-PIB stations
* Adjusted encoding changes and documentation updates in `meteo_imgw_telemetry_stations()`

# climate 1.2.0

Expand Down
4 changes: 2 additions & 2 deletions R/meteo_imgw_datastore.R
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#' imgw_telemetry = meteo_imgw_datastore(year = 2022:2023,
#' parameters = "t2m",
#' stations = c("HALA GĄSIENICOWA",
#' "DOLINA PIĘCIU STAWÓW"),
#' "DOLINA 5 STAWÓW"),
#' coords = TRUE)
#' }
#'
Expand Down Expand Up @@ -84,7 +84,7 @@ meteo_imgw_datastore_bp = function(year,
telemetry_stations$river = NULL

if (!is.null(stations)) {
telemetry_stations = telemetry_stations[telemetry_stations$name %in% toupper(stations), ]
telemetry_stations = telemetry_stations[toupper(telemetry_stations$name) %in% toupper(stations), ]
}

urls = as.character(
Expand Down
2 changes: 1 addition & 1 deletion man/meteo_imgw_datastore.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 14a6ae2

Please sign in to comment.