A feature request for your rmapshaper package.
I found MapShaper online when trying to export a shapefile into a .SVG that included a shapefile field as an "id" property in the XML of the exported .SVG file. This is something I couldn't do in QGIS and there was nothing in R that would allow for it either. Fortunately, the "id-field=" command line option in MapShaper let me accomplish what I needed. This capability is something that you might want to add to your rmapshaper package. I presume that to do this you would also need to add the "format=" option and something to specify the output .SVG file and directory names.
A feature request for your rmapshaper package.
I found MapShaper online when trying to export a shapefile into a .SVG that included a shapefile field as an "id" property in the XML of the exported .SVG file. This is something I couldn't do in QGIS and there was nothing in R that would allow for it either. Fortunately, the "id-field=" command line option in MapShaper let me accomplish what I needed. This capability is something that you might want to add to your rmapshaper package. I presume that to do this you would also need to add the "format=" option and something to specify the output .SVG file and directory names.