coordinate.to.decimal: convert a coordinate in degrees to decimal

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/General_Utils.R

Description

Turns a latutude or longitude value in a degrees-minutes-seconds (DMS) format into a decimal value

Usage

1

Arguments

val

a character string. A single latitude or longitude value to be transformed. Can include non-numeric character like the degree symbol, N-S-E-W wind directions,...

Details

N-S-W-E wind directions as well as degrees, minutes and seconds are recognized and turned into a numeric decimal coordinate value

Value

a numeric value

Author(s)

Maxime Sweetlove

See Also

Other standardization functions: dataQC.DwC_general(), dataQC.DwC(), dataQC.MIxS()

Examples

1
2
coordinate.to.decimal("40.33S")
coordinate.to.decimal("40<U+00B0>33S")

biodiversity-aq/OmicsMetaData documentation built on Dec. 19, 2021, 9:44 a.m.