renameCleanSfFields | R Documentation |
RENAME AND SUBSET FIELDS IN SF OBJECT ACCORDING TO TABLE
renameCleanSfFields(sfObj, namesTable, rmNAs = TRUE)
sfObj |
is an sf object from the sf package |
namesTable |
is a two-column |
rmNAs |
determines whether columns with missing new names are removed or not. Defaults to |
an sf
object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.