Format the latitude and longitude of station in Decimal Degrees (DD) or Hour Minutes Seconds (HMS).
cimis_format_location(d, format = c("DD", "HMS"))
The data frame, with a new "Latitude"
and "Longitude"
columns replacing the "HmsLatitude"
and "HmsLongitude"
columns.
if(is_key_set()) {
d = cimis_station(170)
cimis_format_location(d, "DD")
cimis_format_location(d, "HMS")
}