Created
July 6, 2020 23:46
-
-
Save mxblsdl/bbd70b484bd307d214059f5e91476e0a to your computer and use it in GitHub Desktop.
Find shapefiles in a single folder. Ignores all the other shapefile files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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