list_polygons: List Polygons within a directory

Description Usage Arguments Value Author(s) Examples

Description

Returns a list of filepaths to shapefiles and optionally sort these by their polygon ID. By default, this will recursively search any subdirectories.

Usage

1
list_polygons(..., recursive = TRUE, sort = FALSE)

Arguments

...

a list of values to be concatenated into a filepath

recursive

should subdirectories be searched? Default is TRUE

sort

should the filenames be sorted by ID? Default is FALSE

Value

a list of polygons

Author(s)

Michael Harper

Examples

1
list_polygons(system.file("extdata", package = "polyCheck"), "polygons")

GRID3/polyCheck documentation built on May 26, 2019, 8:35 a.m.