View source: R/prepare_shape_fields.r
prepare_shape_fields | R Documentation |
Shapefiles are limited in the naming conventions of the fields - they can only be 10 characters, and must be devoid of special characters that are allowed in R. This function attempts to ensure that the shortened names that result from calls to writeOGR() can still be understood and are not simply truncated.
prepare_shape_fields(shape)
shape |
a dataframe or spatial object whose fieldnames are to be processed |
a dataframe - spatial or otherwise
Mike McMahon, Mike.McMahon@dfo-mpo.gc.ca
Other general_use:
DDMMSS_to_DD()
,
DDMMx_to_DD()
,
aggregator()
,
clip_by_poly()
,
combine_lists()
,
df_qc_spatial()
,
df_sf_to_gpkg()
,
df_to_sf()
,
drop_cols()
,
subset_by_time()
,
updateCheck()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.