dms2decdegrees: Converts 'dms' format to decimal degrees

View source: R/helpers.R

dms2decdegreesR Documentation

Converts dms format to decimal degrees

Description

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")
dms2decdegrees_2("-3º 40' 37\"")

climaemet documentation built on April 4, 2025, 4:13 a.m.