I have a
sfc-column with just 6 points. I'd like to make these point to markers in a leaflet-map in
R. So I thought that it would be a nice idea to convert them into two columns:
sfc-column looks like the following. Probably an easy task, but I have no idea how to split up the values from each point into two columns.
Geometry set for 6 features geometry type: POINT dimension: XY bbox: xmin: 9.952508 ymin: 53.57191 xmax: 10.02894 ymax: 53.62756 epsg (SRID): 4326 proj4string: +proj=longlat +datum=WGS84 +no_defs First 5 geometries: POINT (9.988762 53.5924) POINT (9.975138 53.57954) POINT (9.952508 53.57584) POINT (10.02894 53.57191) POINT (10.00046 53.59458)