Skip to contents

Converts degrees, minutes and seconds to decimal degrees.

Usage

dms2decdegrees(input = NULL)

dms2decdegrees_2(input = NULL)

Arguments

input

Character string as dms coordinates.

Value

A numeric value.

Note

Code for dms2decdegrees() modified from project https://github.com/SevillaR/aemet.

See also

Other helpers: climaemet_news(), first_day_of_year()

Examples

dms2decdegrees("055245W")
#> [1] -5.879167
dms2decdegrees_2("-3º 40' 37\"")
#> [1] -3.676944