File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -253,8 +253,9 @@ gwl_classified_only_with_coords <- gwl_classified_only %>%
253
253
dplyr::mutate(
254
254
Messstellennummer = as.character(Messstellennummer),
255
255
) %>%
256
- dplyr::left_join (
256
+ dplyr::inner_join (
257
257
stations_gwl_master %>%
258
+ tibble::as_tibble() %>%
258
259
dplyr::select(dplyr::all_of(c("Nummer", rechtswert, hochwert))) %>%
259
260
dplyr::rename(Messstellennummer = "Nummer"),
260
261
by = "Messstellennummer"
@@ -269,6 +270,8 @@ gwl_classified_only_with_coords <- gwl_classified_only %>%
269
270
) %>%
270
271
sf::st_transform(crs = 4326)
271
272
273
+ if(nrow(gwl_classified_only_with_coords) > 0) {
274
+
272
275
# Create a vector of labels for each row in gwl_classified_only_with_coords
273
276
labs <- wasserportal::columns_to_labels(
274
277
data = gwl_classified_only_with_coords,
@@ -308,6 +311,7 @@ htmlwidgets::saveWidget(
308
311
)
309
312
310
313
gwlmap
314
+ }
311
315
```
312
316
313
317
``` {r input_ghactions_map, echo=FALSE, results='asis', eval=is_ghactions}
You can’t perform that action at this time.
0 commit comments