Skip to content

Instantly share code, notes, and snippets.

@mxblsdl
Created July 6, 2020 23:46
Show Gist options
  • Save mxblsdl/bbd70b484bd307d214059f5e91476e0a to your computer and use it in GitHub Desktop.
Save mxblsdl/bbd70b484bd307d214059f5e91476e0a to your computer and use it in GitHub Desktop.
Find shapefiles in a single folder. Ignores all the other shapefile files
list.shp <- function(path) {
list.files(path, pattern = ".shp$", full.names = T)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment