createSSURGO | R Documentation |
Create a SQLite database or GeoPackage from one or more SSURGO Exports
createSSURGO(
filename,
exdir,
pattern = NULL,
include_spatial = TRUE,
overwrite = FALSE,
header = FALSE,
quiet = TRUE,
...
)
filename |
Output file name (e.g. |
exdir |
Path containing containing SSURGO spatial (.shp) and tabular (.txt) files. |
pattern |
Character. Optional regular expression to use to filter subdirectories of |
include_spatial |
Logical. Include spatial data layers in database? Default: |
overwrite |
Logical. Overwrite existing layers? Default |
header |
Logical. Passed to |
quiet |
Logical. Suppress messages and other output from database read/write operations? |
... |
Additional arguments passed to |
Character. Vector of layer/table names in filename
.
## Not run:
downloadSSURGO("areasymbol IN ('CA067', 'CA077', 'CA632')", destdir = "SSURGO_test")
createSSURGO("test.gpkg", "SSURGO_test")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.