Description Usage Arguments Value Examples
Format the latitude and longitude of station in Decimal Degrees (DD) or Hour Minutes Seconds (HMS).
1 | cimis_format_location(d, format = c("DD", "HMS"))
|
d |
A data frame of CIMIS data results. |
format |
The format to use, either Decimal Degrees ( |
The data frame, with a new "Latitude"
and "Longitude"
columns replacing the "HmsLatitude"
and "HmsLongitude"
columns.
1 2 3 4 5 | if(is_key_set()) {
d = cimis_station(170)
cimis_format_location(d, "DD")
cimis_format_location(d, "HMS")
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.