You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
They only work after removing the `"geofacet_grid" class:
library(dplyr)
#> #> Attaching package: 'dplyr'#> The following objects are masked from 'package:stats':#> #> filter, lag#> The following objects are masked from 'package:base':#> #> intersect, setdiff, setequal, union
library(geofacet)
nl_prov_grid1=geofacet::nl_prov_grid1nl_prov_grid1|>
mutate(name= ifelse(name=="Friesland", "Fryslan", name))
#> Error in `vec_data()`:#> ! `x` must be a vector, not a <data.frame/geofacet_grid> object.
class(nl_prov_grid1) ="data.frame"nl_prov_grid1|>
mutate(name= ifelse(name=="Friesland", "Fryslan", name))
#> row col code name#> 1 1 2 FR Fryslan#> 2 1 3 GR Groningen#> 3 2 1 NH Noord-Holland#> 4 2 3 DR Drenthe#> 5 2 2 FL Flevoland#> 6 3 1 ZH Zuid-Holland#> 7 3 3 OV Overijssel#> 8 3 2 UT Utrecht#> 9 4 3 GE Gelderland#> 10 4 2 NB Noord-Brabant#> 11 4 1 ZE Zeeland#> 12 5 3 LI Limburg
They only work after removing the `"geofacet_grid" class:
Created on 2024-12-06 with reprex v2.1.1
The text was updated successfully, but these errors were encountered: