powered by
Format the latitude and longitude of station in Decimal Degrees (DD) or Hour Minutes Seconds (HMS).
cimis_format_location(d, format = c("DD", "HMS"))
A data frame of CIMIS data results.
The format to use, either Decimal Degrees ("DD") or Hour Minutes Seconds ("HMS").
"DD"
"HMS"
The data frame, with a new "Latitude" and "Longitude" columns replacing the "HmsLatitude" and "HmsLongitude" columns.
"Latitude"
"Longitude"
"HmsLatitude"
"HmsLongitude"
# NOT RUN { if(is_key_set()) { d = cimis_station(170) cimis_format_location(d, "DD") cimis_format_location(d, "HMS") } # }
Run the code above in your browser using DataLab