Pattern Matching & Replacement / Cleaning of Data in R

The name of the picture


Pattern Matching & Replacement / Cleaning of Data in R



I'm looking to plot geospatial data, thus I require coordinates. The information I've been provided is very messy and I need a good system to convert a vector of coordinates in multiple formats into one useful format as per below:



Input:



Output:



Anyone with a creative solution? Any response is much appreciated!





Have you tried any code yet? Please add to the question if any to see what you have already tried.
– Wiktor Stribiżew
24 mins ago









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Arduino Mega cannot recieve any sketches, stk500_recv() programmer is not responding

Visual Studio Code: How to configure includePath for better IntelliSense results

C++ virtual function: Base class function is called instead of derived