which_geometry: Determine the column that contains geometry in a table

Description Usage Arguments

View source: R/mpa.R

Description

If more than one column matches the pattern then just the first is returned.

Usage

1
which_geometry(x, form = c("index", "character")[1], pattern = "^geom")

Arguments

x

table of data

form

character either 'index' (default) or 'name'

pattern

character the regular expression pattern to search with


BigelowLab/mpatools documentation built on Jan. 20, 2022, 3:46 p.m.