When I try to specify multiple fields in ms_dissolve I get the error Command expects a single value. It seems like specifying multiple dissolve fields isn't allowed, but apologies if there's some way to do it.
The full mapshaper package allows users to dissolve by multiple fields with fields = fielda,fieldb. It would be nice to be able to do the same with something likems_dissolve(my_sf, field = c(fielda, fieldb)) rather than having to switch to apply_mapshaper_commands() for that functionality.
When I try to specify multiple fields in
ms_dissolveI get the errorCommand expects a single value.It seems like specifying multiple dissolve fields isn't allowed, but apologies if there's some way to do it.The full mapshaper package allows users to dissolve by multiple fields with
fields = fielda,fieldb. It would be nice to be able to do the same with something likems_dissolve(my_sf, field = c(fielda, fieldb))rather than having to switch toapply_mapshaper_commands()for that functionality.