Description Usage Arguments Value Examples
View source: R/decimaldegrees.R
This function takes sexagesimal degrees in the ECA&D format and converts them into decimal degrees. Initial idea was taken from: https://modtools.wordpress.com/2013/09/25/dms2dec/
1 | decimaldegrees(dms, sep = ":")
|
dms |
ONE ELEMENT from the LAT or LON field in ECA&D listings |
sep |
the separator between elements, in ECA&D ":" |
geographical coordinates (latitude or longitude) in decimal degrees
1 2 3 4 5 | dms<-'+48:03:00'
dec<-decimaldegrees(dms)
dms<-'-015:03:00'
dec<-decimaldegrees(dms)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.