crop_dataset_from_ssdb | R Documentation |
Crop or get a dataset from ssdb
crop_dataset_from_ssdb( ssdb, crop = NULL, table_name = get_value_table_names_from_ssdb(ssdb), variables_code0 = NULL, ... )
ssdb |
database (preferably PostgresSQL) connection (see output of |
crop |
argument |
table_name |
vector with names of the tables . Default is |
variables_code0 |
code of the types ( |
... |
further arguments for |
library(magrittr) library(raster) ssdb <- system.file('sumava_extdata/sumava.rds',package="SuSnowDB") %>% readRDS() crop_ext <- system.file('sumava_extdata/sumava_v2_extent.tif',package="SuSnowDB") %>% raster() ssdb_cropped <- crop_dataset_from_ssdb(ssdb,crop=crop_ext)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.