Decimal Degrees to Degree Minute Seconds to Decimal Degrees R-script

Two short scripts in the R statistical programming language the first demonstrates how to convert Decimal Degrees to Degree Minute Seconds (DMS) format and the second script converts the other way from Degree Minute Seconds (DMS) format to Decimal Degrees.  This script was contributed by Daniela Ciancia PhD student at the University of Utrecht (FVM) who wrote it while working on the EDENext project.

The zipfile includes both scripts and a list of latitude and longitude points for EDENext institutions which is used as demo data for the scripts.  Please note that if you convert data from decimal degrees to DMS and back again there may be small variation in results due to rounding within the calculations.  But any variation is very minor.

Document Link: