79383953

Date: 2025-01-24 10:18:38
Score: 2
Natty:
Report link

The most simple and straight-forward approach is using parzer library. For example, given points

library(parzer) 

latitude = "40°14'55.5"

lat_out = parse_lat(latitude)

longitude = "19°58'22.7"

lon_out = parse_lon(longitude)

Note: the direction is not required.

For more information, check https://semba-blog.netlify.app/02/25/2020/geographical-coordinates-conversion-made-easy-with-parzer-package-in-r/

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Anthony Basooma