cimis_format_location: Format CIMIS Station Location

Description Usage Arguments Value Examples

View source: R/util.r

Description

Format the latitude and longitude of station in Decimal Degrees (DD) or Hour Minutes Seconds (HMS).

Usage

1
cimis_format_location(d, format = c("DD", "HMS"))

Arguments

d

A data frame of CIMIS data results.

format

The format to use, either Decimal Degrees ("DD") or Hour Minutes Seconds ("HMS").

Value

The data frame, with a new "Latitude" and "Longitude" columns replacing the "HmsLatitude" and "HmsLongitude" columns.

Examples

1
2
3
4
5

cimir documentation built on Feb. 18, 2021, 1:06 a.m.