I have a data frame that I pulled from a MySQL database that has a feature geometry attribute. For example, here's one record's value for the geom attribute:
'POLYGON((-113.583914 33.786816,-113.58412 33.787018,-113.58412 33.786816,-113.583914 33.786816))'
All features in the table are polygons.
I have been searching but cannot find a clean way to create a spatial data frame from these coordinate strings.