Skip to content

Commit

Permalink
Merge pull request #50 from KWB-R/dev
Browse files Browse the repository at this point in the history
try to fix GW classification plot
  • Loading branch information
mrustl authored Jun 4, 2024
2 parents 2f30ad9 + b4d15bf commit 8870346
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion vignettes/tutorial.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,9 @@ gwl_classified_only_with_coords <- gwl_classified_only %>%
dplyr::mutate(
Messstellennummer = as.character(Messstellennummer),
) %>%
dplyr::left_join(
dplyr::inner_join(
stations_gwl_master %>%
tibble::as_tibble() %>%
dplyr::select(dplyr::all_of(c("Nummer", rechtswert, hochwert))) %>%
dplyr::rename(Messstellennummer = "Nummer"),
by = "Messstellennummer"
Expand All @@ -269,6 +270,8 @@ gwl_classified_only_with_coords <- gwl_classified_only %>%
) %>%
sf::st_transform(crs = 4326)
if(nrow(gwl_classified_only_with_coords) > 0) {
# Create a vector of labels for each row in gwl_classified_only_with_coords
labs <- wasserportal::columns_to_labels(
data = gwl_classified_only_with_coords,
Expand Down Expand Up @@ -308,6 +311,7 @@ htmlwidgets::saveWidget(
)
gwlmap
}
```

```{r input_ghactions_map, echo=FALSE, results='asis', eval=is_ghactions}
Expand Down

0 comments on commit 8870346

Please sign in to comment.