I have a csv file that contains the point geometry information in a single column. Is there a straight forward way to convert from csv to a spatial data file in r given the format of the geometry column (I could do this in QGIS or could splice the column into x and y, but I'm curious if there is a better way to do it).
Here is an example of what the data look like:
name <- c("A", "B", "C")
geom <- c("POINT (45.095914704767 -93.266719775361)",
"POINT (45.095220489232 -93.254896591796)",
"POINT (45.079643666 -93.257941333)")
dat <- data.frame(name, geom)
dat