DDMMx_to_DD | R Documentation |
This utility will convert coordinates from various DDMM formats to Decimal degrees. The new decimal degrees fields will be added as new columns called "LAT_DD" and "LON_DD".
DDMMx_to_DD(
df = NULL,
format = "DDMMMM",
lat.field = NULL,
lon.field = NULL,
WestHemisphere = T
)
df |
a dataframe to be analyzed. If left |
format |
the default is |
lat.field |
the default is |
lon.field |
the default is |
WestHemisphere |
the default is |
the original dataframe is returned, but it will have 2 additional fields - LAT_DD and LON_DD
Mike McMahon, Mike.McMahon@dfo-mpo.gc.ca
Other general_use:
DDMMSS_to_DD()
,
aggregator()
,
clip_by_poly()
,
combine_lists()
,
df_qc_spatial()
,
df_sf_to_gpkg()
,
df_to_sf()
,
drop_cols()
,
prepare_shape_fields()
,
subset_by_time()
,
updateCheck()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.